Skip to content

Commit

Permalink
Auto publish to cocoapods (#490)
Browse files Browse the repository at this point in the history
* add pod trunk push

* set IOS_DEPLOYMENT_TARGET 11.0

* drop 32bit
  • Loading branch information
hewigovens authored Jun 4, 2019
1 parent bc9d6d3 commit d0fee72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/ios-build
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ set -e

echo -e "\n\nBuilding for iOS Device..."
mkdir -p build/ios-dev
cmake -H. -Bbuild/ios-dev -DCMAKE_TOOLCHAIN_FILE=cmake/ios.toolchain.cmake -DIOS_PLATFORM=OS -DIOS_DEPLOYMENT_TARGET=10.0 -DCMAKE_BUILD_TYPE=Release
cmake -H. -Bbuild/ios-dev -DCMAKE_TOOLCHAIN_FILE=cmake/ios.toolchain.cmake -DIOS_PLATFORM=OS64 -DIOS_DEPLOYMENT_TARGET=11.0 -DCMAKE_BUILD_TYPE=Release
make -C build/ios-dev

echo -e "\nBuilding for iOS Simulator..."
mkdir -p build/ios-sim
cmake -H. -Bbuild/ios-sim -DCMAKE_TOOLCHAIN_FILE=cmake/ios.toolchain.cmake -DIOS_PLATFORM=SIMULATOR64 -DIOS_DEPLOYMENT_TARGET=10.0 -DCMAKE_BUILD_TYPE=Release
cmake -H. -Bbuild/ios-sim -DCMAKE_TOOLCHAIN_FILE=cmake/ios.toolchain.cmake -DIOS_PLATFORM=SIMULATOR64 -DIOS_DEPLOYMENT_TARGET=11.0 -DCMAKE_BUILD_TYPE=Release
make -C build/ios-sim

echo -e "\n\nFattenning binary..."
Expand Down
4 changes: 3 additions & 1 deletion tools/ios-release
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,6 @@ file = File.new('build/TrustWalletCore.podspec', 'w')
file.write(podspec)
file.close

puts "Done. Please run 'pod trunk push --allow-warnings #{file.path}'"
puts "Done. running 'pod trunk push --allow-warnings #{file.path}'"

system("pod trunk push --allow-warnings #{file.path}")

0 comments on commit d0fee72

Please sign in to comment.