Created
January 27, 2015 22:58
-
-
Save DavidFrahm/4409d6b74e46377e7be7 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 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