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

Name element in www/config.xml can't have any spaces in it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9.0
    • 3.1.0
    • cordova-cli
    • None
    • cordova 2.9.2 macos 10.7.5

    Description

      If you have a name element with spaces in it, you can build, but you can't emulate in ios.

      With this config.xml:

      <name>App Name With Spaces</name>
      ...
      

      This is the error message displayed:
      /path/to/app/platforms/ios/build/App_Name_With_Spaces.app not found to emulate.

      Note that this doesn't cause any issues with Android, and that running xcodebuild clean doesn't resolve this issue. The only workaround I could find was to re-checkout my application, and change the www/config.xml name element to have no spaces, and re-add the ios platform.

      Attachments

        Issue Links

          Activity

            People

              filmaj Filip Maj
              mooreds Dan Moore
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: