You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "James White (JIRA)" <ji...@apache.org> on 2014/06/12 20:31:03 UTC

[jira] [Created] (CB-6933) Add simulator OS version option to iOS platform run/emulate scripts

James White created CB-6933:
-------------------------------

             Summary: Add simulator OS version option to iOS platform run/emulate scripts
                 Key: CB-6933
                 URL: https://issues.apache.org/jira/browse/CB-6933
             Project: Apache Cordova
          Issue Type: Improvement
          Components: CLI, iOS
    Affects Versions: 3.5.0
         Environment: iOS build environment
            Reporter: James White


Use case:

The existing "cordova run ios --emulator" and "cordova emulate ios" scripts include an option "--target" to specify the desired simulator configuration when invoking the simulator.  The simulator by default will launch with the latest version of the iOS being simulated.  

Adding a new option "--targetos" to the platform's run/emulate scripts would allow developers to specify which version of iOS to start the simulator with.

ie: cordova run ios --debug --emulator --target="iPhone Retina (4-inch)" --targetos=6.1

If the "--targetos" option is provided to the run/emulate script being executed, the string "--sdk <value>" can be appended to the TARGET_FLAG variable that gets passed to ios-sim.




--
This message was sent by Atlassian JIRA
(v6.2#6252)