Saturday, July 12, 2014

How to develop first PhoneGap app on IPhone and IPad

Please reference
How to develop first Phonegap App on Android

Goals:
1. Set up PhoneGap/IOS Development Environment
2. Set up XCode
3. Develop a HelloWorld APP
4. Deploy it to IOS Emulator
5. Deploy it to IPhone and IPad
5. Work with SVN via XCode

Tools:
XCode
IOS Developer Portal
99/year

Tech Stack:

How to use XCode to work with SVN:
1. Start XCode
2. Use Source Control to checkout the IOS PhoneGap Project
3. Import IOS PhoneGap Project as XCode Project
4. Make changes to the files, and synchronize with SVN.

Principles:
1. Use Cordova/PhoneGap to create PhoneGap project
2. Use Cordova/PhoneGap command line to build PhoneGap project to Native Android project and Native IOS Project
3. Import the native project to STS with ADT and XCode
4. Use STS and XCode to develop APP and sychronize with SVN.

Deploy to IOS Device:
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppStoreDistributionTutorial/Introduction/Introduction.html#//apple_ref/doc/uid/TP40013839

Stages:
1. Test the application on IOS Simulator
2. Deploy the application on Device
3. Submit the application to App Store

Issues:
Issue 1: The version of iOS on “your iPhone” is not supported by this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.
Solution: Upgrade Xcode to 5.1.1

References:
http://docs.phonegap.com/en/edge/guide_platforms_ios_index.md.html#iOS%20Platform%20Guide






No comments:

Post a Comment