cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred F Fan <>
Subject phonegap building issues for ios (Using CLI)
Date Thu, 19 Jun 2014 02:32:33 GMT
Hi All,

xcode verison : 6 beta
macox version: Mavericks 10.9.3
cordova vresion: 3.5

I got two issues when using CLI add platform, one is xcode-select error the
another one is  Command failed with exit code 2.
Current I am already fixed xcode-select error ,*but I don't know how to fix
the * *Command failed with exit code 2 error.  please give me some
for your help.*

*below is debug info:*

fanfq-macbook:hello fanfangqing$ cordova -d platform add ios
cordova library for "ios" already exists. No need to download. Continuing.
Checking if platform "ios" passes minimum requirements...
Creating ios project...
Running command:
/Users/fanfangqing/.cordova/lib/ios/cordova/3.5.0/bin/create --arc --cli
com.example.hello HelloWorld
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer
directory '/Library/Developer/CommandLineTools' is a command line tools
Cordova can only run in Xcode version 4.6 or greater.
Command finished with error code 2:
Error: /Users/fanfangqing/.cordova/lib/ios/cordova/3.5.0/bin/create:
Command failed with exit code 2
    at ChildProcess.whenDone
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:755:16)
    at Process.ChildProcess._handle.onexit (child_process.js:822:5)
fanfq-macbook:hello fanfangqing$ cordova platform ls

Kind Regards,
Fred,Fan Fangqing
P Please consider the environment before printing this email

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message