Setup Cordova on OSX


This is going to be a high level post on the steps and components requred to setup Cordova on OSX and build an iOS app.

  1. Install XCode through the App Store
  2. Install brew from the terminal command line (this is the utility that helps us deploy other components)
  3. Install npm using brew, then check they are installed
  4. Ensure the latest required version of java is installed
  5. Install ant
  6. Install and setup cocoapods
  7. Ensure XCode command line utilities are configured correctly – firstly install them
    There maybe and issue (I got this in High Sierra) where you get an error saying XCode is not installed and it can’t find the command line utilities in which case you can switch the location for them using the below command
  8. Install the npm package ios-deploy
  9. Check all cordova requirements are met for building your app (I will be doing future posts for creating and deploying apps using cordova on both OSX, Ubuntu and Windows)

Hope this helps, please share or comment if you found it useful!

 

Paul

IT consultant with 20+ years experience specialising in Oracle Database, Oracle Business Intelligence, Web/Mobile development, Application Express development, cloud technology and more

Leave a Reply

Your email address will not be published. Required fields are marked *