cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Commented] (CB-5103) cordova emulate ios broken: --emulator vs. --emulate
Date Thu, 17 Oct 2013 03:59:41 GMT


Shazron Abdullah commented on CB-5103:

Hmm I patched my cordova (3.1.0-0.1.0) using but
when I call
cordova emulate ios

it still shows the same problem. If I run:
platforms/ios/cordova/run --emulator
... it works.

truncated verbose log below:
$ cordova emulate ios --verbose
cordova library for "ios" already exists. No need to download. Continuing.
Wrote out iOS Bundle Identifier to "aga.aasg.asg"
Wrote out iOS Bundle Version to "0.0.1"
iOS Product Name has not changed (still "Foo")
Calling plugman.prepare for platform "ios"
Preparing ios project...
Processing configuration changes for plugins.
Iterating over installed plugins: []
Writing out cordova_plugins.js...
Running on emulator for platform "ios" via command ""/Users/shazron/Desktop/Foo/platforms/ios/cordova/run"
--emulator" (output to follow)...

[xcodebuild output here..(trimmed)]

Platform "ios" deployed to emulator.

> cordova emulate ios broken: --emulator vs. --emulate
> ----------------------------------------------------
>                 Key: CB-5103
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, iOS
>    Affects Versions: Master, 3.1.0
>            Reporter: Carlos Santana
>            Assignee: Carlos Santana
> 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"
> But cordova/run script expects "--emulate"
> possible fix:
> update run to use --emulator instead of --emulate

This message was sent by Atlassian JIRA

View raw message