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

Can't run emulator from cordova cli

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.2.0
    • cordova-cli, cordova-ios
    • None
    • OS X 10.8.5, Xcode 5, ios-sim 1.8.2

    Description

      Cordova 3.1.0 CLI doesn't run the emulator properly for iOS. It might be broken for other platforms as well. Cordova CLI 3.1.0 was installed using npm -g

      In the following test, the project is created and the ios platform is added. The cordova emulate ios looks like it compiles in the background but the emulator is never opened.

      $ cordova create test-cli com.silverorange.test-cli TestCLI
      $ cd test-cli
      $ cordova platform add ios
      $ cordova emulate ios
      

      If I enter the platform dir and run the emulate command directly, the ios-simulator opens as expected.

      $ cd platforms/ios/cordova
      $ ./emulate
      

      Attachments

        1. log.txt
          204 kB
          Shazron Abdullah

        Activity

          People

            shazron Shazron Abdullah
            gauthierm Michael Gauthier
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: