Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Package an iOS app with Cordova :
- $ sudo npm install -g cordova
- $ cordova create hello com.example.hello "HelloWorld"
- $ cd hello
- $ cordova platform add ios
- $ cordova prepare
- $ cordova run
- $ Copy the web content both in www and in platforms/ios/www
- $ Modify the index.html to add the cordova.js
- $ Open the Xcode Project
- $ Compile and run
Advertisement
Add Comment
Please, Sign In to add comment