cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Husting (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-4206) "An error occured during creation of ios sub-project"
Date Mon, 15 Jul 2013 18:16:58 GMT
Steve Husting created CB-4206:
---------------------------------

             Summary: "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
             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

Mime
View raw message