ios - Error while adding phone gap platform with Xcode 6.0-beta -


when using command

cordova platform add ios 

i getting issues

creating ios project... xcode-select: error: tool 'xcodebuild' requires xcode, active developer directory '/library/developer/commandlinetools' command line tools instance cordova can run in xcode version 4.6 or greater. error: /users/ykorshev/.cordova/lib/ios/cordova/3.5.0/bin/create: command failed exit code 2     @ childprocess.whendone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)     @ childprocess.eventemitter.emit (events.js:98:17)     @ maybeclose (child_process.js:753:16)     @ process.childprocess._handle.onexit (child_process.js:820:5) 

xcode beta 6 xcode command line developer tools installed. using mac os x v10.9.3

use this:

sudo xcode-select -s /applications/xcode6-beta.app/ 

this works fine me


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -