diff --git a/tools/ios-build b/tools/ios-build index 0b20e362482..cdbe96acd79 100755 --- a/tools/ios-build +++ b/tools/ios-build @@ -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..." diff --git a/tools/ios-release b/tools/ios-release index ae60ab1fbaf..339823ef2a0 100755 --- a/tools/ios-release +++ b/tools/ios-release @@ -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}")