Grunt / Cordova / HockeyApp IOS build & deploy process with AngularJS generator
When ready to build, jump to the terminal and:
- Update the version number on config.xml
- Run a grunt build
grunt build
- Run a cordova build
cordova build ios
- Open up the xcode project in
platforms/ios
- Clean & archive project in Xcode
- On archive screen, click export - using Ad Hoc deployment
- Continue through screens
- Upload the .ipa file to your HockeyApp project
To test the app Xcode's emulator, simply run this command after the initial grunt build (point 2):
cordova emulate ios --target="iPad-Retina"
This will open up app in the iPad Retina emulator - more details on specifying the simulator here: http://stackoverflow.com/questions/22310526/cordova-start-specific-ios-emulator-image#answer-22329264
Written by Dave O'Brien
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Grunt
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#