update podspec

This commit is contained in:
Hiddify
2024-01-14 00:46:06 +00:00
parent d04211ee1a
commit 5189cc3d7b

View File

@@ -4,11 +4,16 @@ Pod::Spec.new do |s|
s.summary = 'hiddify mobile SDK for iOS'
s.homepage = 'https://hiddify.com/'
s.license = { :type => 'Copyright', :text => 'Hiddify Open Software' }
s.author = { 'Hiddify' => 'ios@hiddifyk.com' }
s.author = { 'Hiddify' => 'ios@hiddify.com' }
s.ios.deployment_target = '9.0'
s.vendored_frameworks = 'Libcore.framework'
s.source = { :path => '../libcore/' }
s.vendored_frameworks = 'Libcore.xcframework'
# s.source = { :git => 'https://github.com/hiddify/hiddify-next-core.git', :tag => s.version }
s.source = { :http => 'https://github.com/hiddify/hiddify-next-core/releases/download/v#{s.version}/hiddify-libcore-ios.xcframework.tar.gz' }
s.prepare_command = <<-CMD
tar -xf "hiddify-libcore-ios.xcframework.tar.gz"
CMD
end