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

Cordova CLI with emulator tool do not work with spaces in the path for iOS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 2.9.0
    • cordova-cli, cordova-ios
    • None
    • Mac OS 10.8.3

    Description

      Emulator tool is not working with spaces in the path for iOS.

      Steps to reproduce:
      1. cordova create ~/MyApp My\ App
      2. cd ~/MyApp
      3. cordova platform add ios android
      4. cordova build
      5. cordova emulate ios (gives no build info)
      alt. platforms/ios/cordova/emulate

      Expected: run simulator through ios-sim
      Actual: ~/MyApp/platforms/ios/build/My_App.app not found to emulate.

      Note: You may also modify the name in the config.xml to contain a space instead of creating a new app. Also this is not affecting Android. Other platforms not tested. It looks like the emulate scrip if using the project folder name instead of the actual app name.

      Attachments

        Issue Links

          Activity

            People

              agrieve Andrew Grieve
              marnberg Martin Arnberg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: