Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4206

"An error occured during creation of ios sub-project"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.9.0
    • None
    • cordova-cli
    • Mac OSX 10.8.4

    Description

      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

      Attachments

        Activity

          People

            filmaj Filip Maj
            websteve Steve Husting
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: