Thursday, December 31, 2020

Setting up Xcode for Apache Cordova

Prerequisites for Apache Cordova iOS is to have Xcode installed. For the latest version of Xcode, we need to add the Developer bin to the path so that all the tools can be accessed from the Terminal.
➜ vim ~/.zshrc
export PATH="/Applications/$PATH"
Once we add the path to Xcode tools, we can install the corodova tool.
➜ npm install -g ios-deploy
If success, it should give a log like below.
changed 1 package, and audited 1 package in 12s

found 0 vulnerabilities
Open the app workspace in Xcode, click run to see the app running.