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

`cordova platform update ios` resets entire Xcode project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.2.0
    • cordova-ios@5.0.0
    • cordova-ios
    • OSX 10.11.5

    Description

      I run `cordova update platform ios` to make sure it's up to date. The platform is up to date, but running `cordova update platform ios` basically nukes the Xcode project and essentially creates a "new" project.

      This means the following gets removed/reset:

      • Plugins removed
      • Additional schemes removed
      • Modified source file changes removed

      This means we can't actually customise any native code for the platform without it getting reset by an update.

      If this is the case where the platform is some "dumb" base project, how are people expected to have different schemes and changes to native code?

      Are we expected to create a bunch of "hooks" that basically find/replace the code with our changes, not exactly user friendly?

      Attachments

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              tombell Tom Bell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: