[ https://issues.apache.org/jira/browse/CB-5251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-5251: --------------------------------- Component/s: CLI > Running on device still not supported, but CLI not saying that. > --------------------------------------------------------------- > > Key: CB-5251 > URL: https://issues.apache.org/jira/browse/CB-5251 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Reporter: Raymond Camden > Priority: Minor > > I know that running on an iOS device from the CLI has been an issue for a > little while, but currently there isn't good support for letting the user > know that. If you do cordova run ios, you get: > Generating config.xml from defaults for platform "ios" > Preparing ios project > Running app on platform "ios" via command > "/Users/ray/Desktop/geobug2/platforms/ios/cordova/run" --device > [Error: n error occurred while running the ios project.] > With no context as to why. If you add the -d arg, you get (after a bunch of > stuff) > Targeting a device is not supported currently. > So two things. I believe device targetting works in Android, right? Shouldn't > the error say iOS? Secondly - this error should be shown even if you don't > use verbose. > Finally - I think the cordova help dump should call this out to make it more > obvious. If you can't run on a major platform like iOS, I think a little note > in the help text would make it more obvious. -- This message was sent by Atlassian JIRA (v6.1#6144)