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

Allow multiple versions of PhoneGap to be installed in Xcode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • cordova-ios
    • None

    Description

      There is one thing that is driving me crazy with PhoneGap. Currently in OSX, the Xcode project always references the machine's PhoneGap library. For a single project, this is fine. If you have multiple projects on your machine, and they use different versions of the PhoneGap SDK, then there is no way to easily manage the correct version of the SDK. Whether your project is PhoneGap 1.5 or 1.7, it will reference the last installed SDK. If you try and run a PhoneGap 1.5 app on a machine where you last installed the 1.7 RC, then the 1.5 app is likely to have errors (compiler errors from changes in the SDK, as well as JS errors). It would be great to have either versioned SDK libraries so that you can have multiple PhoneGap versions installed at the same time, or have a reference to the PhoneGap library in each project, so that installing a new SDK doesn't break older projects.

      Attachments

        1. project_template.diff.png
          608 kB
          Shazron Abdullah

        Issue Links

          Activity

            People

              agrieve Andrew Grieve
              triceam Andrew Trice
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: