cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4206) "An error occured during creation of ios sub-project"
Date Mon, 22 Jul 2013 18:06:49 GMT

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

Filip Maj commented on CB-4206:
-------------------------------

You might be right Shaz, may need more. With the tools doing lazy-loading to a user's home
directory, we may need some more diagnostic capabilities built-in to help with these. In the
mean time, generally doing {{rm -rf ~/.cordova/lib}} and recreating a project has helped a
lot of people.
                
> "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
>
> 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