You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2017/08/24 01:00:40 UTC

[jira] [Commented] (CB-12830) cordova emulate ios with --target throws undefined error

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

Shazron Abdullah commented on CB-12830:
---------------------------------------

{{theTarget}} is undefined here: https://github.com/apache/cordova-ios/blob/8edd13aaee16d6996a4560a74d17798437b42c6f/bin/templates/scripts/cordova/lib/build.js#L126

Because of this promise: https://github.com/apache/cordova-ios/blob/8edd13aaee16d6996a4560a74d17798437b42c6f/bin/templates/scripts/cordova/lib/build.js#L121



> cordova emulate ios with --target throws undefined error
> --------------------------------------------------------
>
>                 Key: CB-12830
>                 URL: https://issues.apache.org/jira/browse/CB-12830
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>    Affects Versions: 7.0.0
>         Environment: MacBook Pro (Retina, 15-inch, Mid 2015)
> macOS 10.12.5
> nodejs version v7.9.0
> cordova version 7.0.1
> Installed platforms:
>   android 6.2.3
>   ios 4.4.0
> Available platforms: 
>   blackberry10 ~3.8.0 (deprecated)
>   browser ~4.1.0
>   osx ~4.0.1
>   webos ~3.7.0
>            Reporter: Michal Cwienczek
>            Priority: Minor
>              Labels: backlog, ios, ios-next
>             Fix For: cordova-ios@4.5.0
>
>
> This image best describes what happens:
> https://pasteboard.co/7GV5viPww.png
> {code}
> $ cordova emulate ios --target="iPhone-6s-Plus, 9.3" --verbose
> [bunch of empty lines that are probably the same as the background color]
> Error: Cannot read property 'name' of undefined
> {code}
> So there are 2 issues:
> 1. Verbose output is empty
> 2. at the end cordova throws undefined error
> MacBook Pro (Retina, 15-inch, Mid 2015)
> macOS 10.12.5
> nodejs version v7.9.0
> cordova version 7.0.1



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org