Thanks Shaz, what I suspected but was not sure how to pass the id to ios-deploy
I also found another problems related running cordova emulate --list, it shows duplicates when Xcode is configured with multiple versions of iOS versions 7.1, 8.3 User can't tell what id to use for cordova emulate --target I open two Jira Issues CB-8906 - cordova run ios --target doesn't work <https://issues.apache.org/jira/browse/CB-8906> CB-8907 - cordova ios emulate --list it shows duplicates when ios simulators are present for 7.x adn 8.x <https://issues.apache.org/jira/browse/CB-8907> $ cordova emulate --list Running command: /Users/csantana23/foo/cordova/App0424/platforms/ios/cordova/run --emulator --list Available iOS Virtual Devices: iPhone-4s iPhone-5 iPhone-5s iPhone-5s iPad-2 iPad-Retina iPad-Air iPhone-4s iPhone-5 iPhone-5s iPhone-6-Plus iPhone-6 iPad-2 iPad-Retina iPad-Air Resizable-iPhone Resizable-iPad ** RUN SUCCEEDED ** On Fri, Apr 24, 2015 at 1:55 PM, Shazron <[email protected]> wrote: > ios-deploy certainly supports it (--id or -i) > However this flag and its argument is not passed to ios-deploy from > cordova/run: > https://github.com/apache/cordova-ios/blob/f7a888140951e1952acd40f3ec54d13726f2fae4/bin/templates/scripts/cordova/lib/run.js#L111 > > > > On Fri, Apr 24, 2015 at 10:44 AM, Carlos Santana <[email protected]> > wrote: > > If I have two iOS devices plug to USB. > > > > How can I select which one I want to deploy the App? > > > > cordova run ios --target doesn't work > > > > Is this a bug, a limitation on ios-deploy, by design, etc..? > > > > -- > > Carlos Santana > > <[email protected]> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Carlos Santana <[email protected]>
