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.

export PATH="/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH"

Once we add the path to Xcode tools, we can install the cordova tool.

npm install -g ios-deploy
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.