cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Santana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5103) cordova emulate ios broken: --emulator vs. --emulate
Date Thu, 17 Oct 2013 14:55:41 GMT

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

Carlos Santana commented on CB-5103:
------------------------------------

found where is broken

on cordova/run

"$CORDOVA_PATH/build" || exit $?

The build runs partially and then blows up with exit 0

event just putting 
source "$CORDOVA_PATH/build"

the next line doesn't execute.

The problem only occurs when the script is invoke from cordova-cli from nodejs

if you run from terminal manually platforms/ios/cordova/run --emulator  then it works.

I'm suspecting that the platforms/ios/cordova/build command is putting a ton of output on
stdout and node/cordova-cli is not accommodating this output or could by something else


> 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
>
> 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)

Mime
View raw message