[ 
https://issues.apache.org/jira/browse/CB-4206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13708774#comment-13708774
 ] 

Steve Husting commented on CB-4206:
-----------------------------------

$ cordova platform add ios
[Error: An error occured during creation of ios sub-project. /bin/sh: 
/Users/Steve/.cordova/lib/ios/cordova/2.9.0/bin/create: No such file or 
directory
]
Webmaster2s-Mac-mini:TestApp Steve$ $ rm -rf ~/.cordova/lib/ios/cordova/2.9.0/
-bash: $: command not found
Webmaster2s-Mac-mini:TestApp Steve$ rm -rf ~/.cordova/lib/ios/cordova/2.9.0/
Webmaster2s-Mac-mini:TestApp Steve$ cordova create 
~/Documents/AndroidApps/MyApp com.stevehusting.MyApp MyApp
Webmaster2s-Mac-mini:TestApp Steve$ cordova -d platform add ios
Requesting 
https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=snapshot;h=2.9.0;sf=tgz...
Download complete. Extracting...
Checking if platform "ios" passes minimum requirements...
Checking iOS requirements...
Running "xcodebuild -version" (output to follow)
Xcode 4.6.3
Build version 4H1503

Running bin/create for platform "ios" with command: 
""/Users/Steve/.cordova/lib/ios/cordova/2.9.0/bin/create" --arc 
"/Users/Steve/Documents/AndroidApps/TestApp/platforms/ios" 
"com.stevehusting.TestApp" "TestApp"" (output to follow)

cordova library for "ios" already exists. No need to download. Continuing.
Wrote out iOS Bundle Identifier to "com.stevehusting.TestApp"
Wrote out iOS Bundle Version to "0.0.1"
Wrote out iOS Product Name to "TestApp"
Calling plugman.prepare for platform "ios"
Preparing ios project, starting with processing of config changes...
Iterating over installed plugins...
Writing out cordova_plugins.json...
Writing out cordova_plugins.js...
Mac-mini:TestApp Steve$ 
                
> "An error occured during creation of ios sub-project"
> -----------------------------------------------------
>
>                 Key: CB-4206
>                 URL: https://issues.apache.org/jira/browse/CB-4206
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.9.0
>         Environment: Mac OSX 10.8.4
>            Reporter: Steve Husting
>            Assignee: Filip Maj
>              Labels: patch
>             Fix For: 3.0.0
>
>
> I am carefully documenting my steps for creating an app using PhoneGap CLI to 
> share with others. I ran into an unexpected error. Here are the steps to the 
> error. I had already successfully created the folder with:
> cordova create AAA com.myproject MyProject 
> I've also used Homebrew to successfully install the ios-sim. Here are the 
> steps after that: 
> Project Creation, PhoneGap CLI-style
> 20. I wanted to create an app called TestApp in the folder 
> ./Documents/AndroidApps/TestApp. So I would build up the command line like:
> cordova create ./Documents/AndroidApps/TestApp com.stevehusting.TestApp 
> TestApp
> 21. After the create command, indicate what platform you are building. Make 
> sure the Terminal indicates that the current folder is the TestApp folder, 
> and type:
> cordova platform add ios
> I received the error when I started the command from the TestApp folder: 
> [Error: An error occured during creation of ios sub-project. /bin/sh: 
> /Users/Steve/.cordova/lib/ios/cordova/2.9.0/bin/create: No such file or 
> directory]
> I asked the program to list the platforms associated: 
> cordova platform list
> … and got the response:
> No platforms added. Use `cordova platform add <platform>`.
> This seems like circular reasoning! I had already installed node.js, and 
> followed the steps carefully in 
> http://photokandy.tumblr.com/post/46289610781/getting-started-with-cordova-cli
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to