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

CLI won't install for iOS platform even though I have the latest Xcode version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.9.0
    • None
    • cordova-cli, cordova-ios
    • OSX 10.8.4
      Xcode 4.6.3

    Description

      Won't install the iOS package on OS X because on my version of Xcode (4.6.3) the output format of the

      $ xcodebuild -version

      command is incomprehensible to cordova. It looks like this:

      $xcodebuild -version
      XcodeComponent versions: DevToolsCore-1763.0; DevToolsSupport-1758.0 BuildVersion: 10M2423

      consequently:

      $ cordova platform add ios

      says that the SDK is too old.

      I worked around this by changing line 213 of: /usr/local/lib/node_modules/cordova/src/platform.js, from:
      "if (err)"
      to:
      "if (false)"

      Obviously not a proper solution.

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            michaelstanford Michael Stanford
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: