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

Cordova run popts don't make it through to ios-deploy on real device

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.2.0, 5.1.1
    • None
    • cordova-cli
    • Mac OSX 10.10

    Description

      Using Cordova 5.1.1 platform options passed to the run command don't make it through to ios-deploy.
      This is particularly problematic when using run because it doesn't accept the --justlaunch argument to cleanly exit from lldb after deploying the app.

      Eg.
      `cordova run --device ios – --justlaunch`

      The – seems to get removed as printed in the log:

      → cordova run --device ios -- --justlaunch
      Running command: /Users/robaldred/Repos/project/platforms/ios/cordova/run --device --justlaunch
      Building project  : /Users/robaldred/Repos/project/platforms/ios/Project.xcodeproj
      

      This seems to only be a problem with using the --device flag to deploy to a real device

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            bobbeh Rob Aldred
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: