new: add podspec in make file

This commit is contained in:
Hiddify
2024-01-03 16:23:11 +00:00
parent 29c6413bce
commit 1f88cb32af
3 changed files with 28 additions and 3 deletions

View File

@@ -1,15 +0,0 @@
Pod::Spec.new do |s|
s.name = 'Libcore'
s.version = '1.0.0.local'
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.ios.deployment_target = '9.0'
s.vendored_frameworks = 'Libcore.framework'
s.source = { :path => '../libcore/' }
end

View File

@@ -77,7 +77,6 @@ jobs:
rm ./bin/hiddify-libcore-macos-a*.dylib || echo "no macos arm and amd"
if [[ "${{ matrix.job.target }}" == "ios" ]];then
cd bin
cp .github/Libcore.podspec ./hiddify-libcore-ios.xcframework/
tar -czvf hiddify-libcore-ios.xcframework.tar.gz hiddify-libcore-ios.xcframework
rm -rf hiddify-libcore-ios.xcframework
else