Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8FFA410882 for ; Mon, 22 Jul 2013 18:06:55 +0000 (UTC) Received: (qmail 81965 invoked by uid 500); 22 Jul 2013 18:06:52 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 81692 invoked by uid 500); 22 Jul 2013 18:06:50 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 81650 invoked by uid 99); 22 Jul 2013 18:06:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 18:06:49 +0000 Date: Mon, 22 Jul 2013 18:06:49 +0000 (UTC) From: "Filip Maj (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-4206) "An error occured during creation of ios sub-project" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-4206?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1371546= 8#comment-13715468 ]=20 Filip Maj commented on CB-4206: ------------------------------- You might be right Shaz, may need more. With the tools doing lazy-loading t= o a user's home directory, we may need some more diagnostic capabilities bu= ilt-in to help with these. In the mean time, generally doing {{rm -rf ~/.co= rdova/lib}} and recreating a project has helped a lot of people. =20 > "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 CL= I 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=20 > I've also used Homebrew to successfully install the ios-sim. Here are the= steps after that:=20 > Project Creation, PhoneGap CLI-style > 20. I wanted to create an app called TestApp in the folder ./Documents/An= droidApps/TestApp. So I would build up the command line like: > cordova create ./Documents/AndroidApps/TestApp com.stevehusting.TestApp T= estApp > 21. After the create command, indicate what platform you are building. Ma= ke sure the Terminal indicates that the current folder is the TestApp folde= r, and type: > cordova platform add ios > I received the error when I started the command from the TestApp folder:= =20 > [Error: An error occured during creation of ios sub-project. /bin/sh: /Us= ers/Steve/.cordova/lib/ios/cordova/2.9.0/bin/create: No such file or direct= ory] > I asked the program to list the platforms associated:=20 > cordova platform list > =E2=80=A6 and got the response: > No platforms added. Use `cordova platform add `. > This seems like circular reasoning! I had already installed node.js, and = followed the steps carefully in http://photokandy.tumblr.com/post/462896107= 81/getting-started-with-cordova-cli=20 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira