2014-02-12 37 views
2

錯誤創建IOS子項目我設法創建一個新的PhoneGap項目,併成功地用下面的命令添加Android平臺:的PhoneGap:在Windows

cordova platform add android 

但是,當我嘗試添加iOS平臺的錯誤:

'"C:\Users\ryan.pays\.cordova\lib\ios\cordova\3.3.0\bin\create"' is not recognized as an internal or external command, 
operable program or batch file. 

    at C:\Users\ryan.pays\AppData\Roaming\npm\node_modules\cordova\src\platform.js:282:30 
    at ChildProcess.exithandler (child_process.js:641:7) 
    at ChildProcess.EventEmitter.emit (events.js:98:17) 
    at maybeClose (child_process.js:735:16) 
    at Socket.<anonymous> (child_process.js:948:11) 
    at Socket.EventEmitter.emit (events.js:95:17) 
    at Pipe.close (net.js:466:12) 

我進入C:\用戶\ myusername.cordova \ lib和刪除文件夾的ios再次嘗試但我仍然得到同樣的錯誤。

我正在使用最新的phonegap,cordova和plugman。

任何想法,我做錯了什麼?

回答