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

After failed install of iOS, you get "stuck" with a path error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • None
    • cordova-cli
    • None
    • OSX

    Description

      me:~/Documents/code/rlaw$ /usr/local/share/npm/bin/cordova platform add ios
      [Error: An error occured during creation of ios sub-project. /bin/sh: /Users/me/.cordova/lib/ios/cordova/3.0.0/bin/create: No such file or directory

      What happened:
      I tried to install "cordova platform add ios android"
      and I didn't have the android path configured, so the installer bailed.
      But instead of "finishing" the ios install, it left it in a strange state.
      Instead of "~/.cordova/lib/ios/cordova/3.0.0"
      it had "~/.cordova/lib/ios/cordova/3.0.0-@someotherstuff"

      Workaround: I deleted ~/.cordova/lib/ios and re-installed.

      Attachments

        Activity

          People

            shepheb Braden Shepherdson
            benjaminhill Benjamin Hill
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: