When trying to add ios to my project by running:
ionic platform add ios
in the root of my project directory, I get the following error:
Deans-Air:myApp dean$ ionic platform add ios Creating ios project... xcrun: error: active developer path ("/Applications/Xcode6-Beta.app/Contents/Developer") does not exist, use
xcode-select --switch path/to/Xcode.app
to specify the Xcode that you wish to use for command line developer tools (or seeman xcode-select
) Cordova can only run in Xcode version 4.6 or greater. Error: /Users/dean/.cordova/lib/npm_cache/cordova-ios/3.6.3/package/bin/create: Command failed with exit code 2 at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:753:16) at Process.ChildProcess._handle.onexit (child_process.js:820:5)
This is the first time I'm trying to create an ionic application. Any help would greatly be appreciated!