You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Raymond Camden (JIRA)" <ji...@apache.org> on 2013/11/02 17:27:19 UTC

[jira] [Commented] (CB-5103) cordova emulate ios broken: --emulator vs. --emulate

    [ https://issues.apache.org/jira/browse/CB-5103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812055#comment-13812055 ] 

Raymond Camden commented on CB-5103:
------------------------------------

I notice this is marked as fixed. It is not fixed for me. When I do

cordova emulate ios

I get the following:

enerating config.xml from defaults for platform "ios"
Preparing ios project
Running on emulator for platform "ios" via command "/Users/ray/Desktop/geobug2/platforms/ios/cordova/run" --emulator
[Error: An error occurred while emulating/deploying the ios project. 2013-11-02 11:25:02.568 xcodebuild[42239:4703]  DeveloperPortal: Using pre-existing current store at URL (file:///Users/ray/Library/Developer/Xcode/DeveloperPortal%205.0.db).
2013-11-02 11:25:03.204 xcodebuild[42245:4307]  DeveloperPortal: Using pre-existing current store at URL (file:///Users/ray/Library/Developer/Xcode/DeveloperPortal%205.0.db).
2013-11-02 11:25:03.849 xcodebuild[42255:4813]  DeveloperPortal: Using pre-existing current store at URL (file:///Users/ray/Library/Developer/Xcode/DeveloperPortal%205.0.db).
]


> cordova emulate ios broken: --emulator vs. --emulate
> ----------------------------------------------------
>
>                 Key: CB-5103
>                 URL: https://issues.apache.org/jira/browse/CB-5103
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, iOS
>    Affects Versions: Master, 3.1.0
>            Reporter: Carlos Santana
>            Assignee: Carlos Santana
>             Fix For: 3.2.0
>
>
> when using "cordova emulate ios"
> It doesn't launch ios simulator ios-sim never gets called
> possible root cause:
> cordova-cli calls "platforms/ios/cordova/run --emulator"
> https://github.com/apache/cordova-cli/blob/master/src/emulate.js#L25
> But cordova/run script expects "--emulate"
> https://github.com/apache/cordova-ios/blob/master/bin/templates/scripts/cordova/run#L62
> possible fix:
> update run to use --emulator instead of --emulate



--
This message was sent by Atlassian JIRA
(v6.1#6144)