-
-
Save hikumealan/bc0547dd31eded09e44575015f475c93 to your computer and use it in GitHub Desktop.
Ionic build iOS app for release, open in HockeyApp for deploying to team
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Building Ionic/Cordova iOS release..." | |
ionic build --release ios | |
# Save current directory and cd to other dir | |
pushd platforms/ios/ | |
# Build archive | |
xcodebuild -scheme "MyApp" -configuration Release clean archive | |
# Can also specify archive path: | |
# xcodebuild <all_other_args> archive -archivePath build/MyApp | |
# Return current directory | |
popd | |
# Uncomment if you have disabled HockeyApp auto-watching for archives | |
# This path needs to be edited based on IPA from earlier command | |
#echo "Opening IPA (in HockeyApp)..." | |
#open platforms/MyApp.ipa | |
echo "Done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment