I tested the CLI Cordova 3.0.0 tool. Team
$ sudo cordova platform add android
done ok. But I have a mistake during the command
$ sudo cordova platform add ios
Mistake
[Error: An error occured during creation of ios sub-project. /bin/sh: /Users/user/.cordova/lib/ios/cordova/3.0.0/bin/create: No such file or directory ]
When I decided to install the previous version
$ sudo npm install -g cordova@2.9.0
Yes, -
$ cordova platform add ios
Team
completed her work. I got ios subproject
I have Xcode 4.6.3 and xCode command line tools installed. Thank you in advance for any hint.
By the way, I am not alone with such a problem. Please see "CLI PhoneGap": "Error while creating ios subproject" https://groups.google.com/forum/#!msg/phonegap/woWZzT39osg/CpK_rUIKmYAJ
Update: Bugfix: the folder with the version was deleted ie
rm -rf ~/.cordova/lib/ios/cordova/3.0.0/
and after
$ sudo cordova platform add ios
ios platform was added without errors.
cordova cordova-cli
k2fx
source share