1. go to your app-folder
2. gulp build
3. phonegap build ios
4. go to Xcode
5. connect / run to your phone
No2 creates www folder (Phonegap folder) from src folder (Angular JS code)
No3 creates app-folder\platforms\ios\XXX.xcodeproj
Angular JS compile in Android
1. go to your app-folder
Never do below!! (Some of the files in www are essentially necessary eg, icon.png. And they do not recover by 'gulp build')
3. gulp build
4. phonegap build android
(build was necessary to run emulator properly)
5. phonegap run android
No comments:
Post a Comment