Guest User

Package an iOS app with Cordova

a guest
Apr 18th, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. Package an iOS app with Cordova :
  2.  
  3. $ sudo npm install -g cordova
  4. $ cordova create hello com.example.hello "HelloWorld"
  5. $ cd hello
  6. $ cordova platform add ios
  7. $ cordova prepare
  8. $ cordova run
  9. $ Copy the web content both in www and in platforms/ios/www
  10. $ Modify the index.html to add the cordova.js
  11. $ Open the Xcode Project
  12. $ Compile and run
Advertisement
Add Comment
Please, Sign In to add comment