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

Xcode Project breaks after changing App Name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cordova-cli
    • None

    Description

      If you change the app name in config.xml and run 'cordova prepare ios' or 'cordova build ios' the xcode project gets messed up and builds do not work anymore.

      It appears that files are being renamed properly 'App.xcodeproj' and the 'App' folder inside of ios are properly changed. But if you open the xcodeproj you can see that the Name of the app has not been changed and the build settings are lost.

      On my machine after a rename I am left with only the ability to build for Mac 64-bit, all the phone builds are removed :/

      Steps to reproduce

      cordova create TestApp
      cd TestApp
      cordova platform add ios
      

      open the xcode project and look at the name (all is good)
      change name in config.xml

      cordova prepare ios
      

      open the code project and sadness...

      Attachments

        Activity

          People

            Unassigned Unassigned
            rawss Ross Gerbasi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: