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

<name> changes in config.xml does a "search and replace all" for occurrences of the old name with the new name in the pbxproj

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.2.0
    • None
    • cordova-ios
    • iOS
      cordova 6.3.1
      cordova-ios 4.2.0

    Description

      Actual result:
      Changing the project name in the config.xml <name> tag will not replace the project name properly, and you cannot build the project.

      Expected result:
      Changing the project name in the config.xml <name> tag will replace the project name properly, and you can build the project.

      Repro steps:
      1. `cordova create t t t`
      2. `cd t`
      3. `cordova platform add ios`
      4. `cordova build`
      5. Edit config.xml <name> tag, and replace "t" with "foobar"
      6. `cordova build`

      Check the file `platforms\ios\foobar.xcodeproj\project.pbxproj`. All `t` characters have been replaced with `foobar`.

      Attachments

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              shazron Shazron Abdullah
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: