[ https://issues.apache.org/jira/browse/CB-12830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16105844#comment-16105844 ]
Filip Maj commented on CB-12830: -------------------------------- Just throwing my hat into the ring here that I also experience this issue. Running {{cordova emulate ios --list}} yields a list of targets I can feed into {{cordova emulate ios --target="blah"}}. If I try to run that I get: {noformat} ➔ cordova -d emulate ios --target="iPhone-7, 10.3" Warning: using prerelease version 7.0.2-dev (cordova-lib@7.0.1) No scripts found for hook "before_emulate". No scripts found for hook "before_prepare". Checking config.xml and package.json for saved platforms that haven't been added to the project Config.xml and package.json platforms are the same. No pkg.json modification. Package.json and config.xml platforms are different. Updating config.xml with most current list of platforms. PlatformApi successfully found for platform ios Checking config.xml for saved plugins that haven't been added to the project Checking for any plugins added to the project that have not been installed in ios platform No differences found between plugins added to project and installed in ios platform. Continuing... Generating platform-specific config.xml from defaults for iOS at /Users/maj/src/cordova-web-platform-tests/platforms/ios/WebPlatformTests/config.xml Merging project's config.xml into platform-specific iOS config.xml Merging and updating files from [www, platforms/ios/platform_www] to platforms/ios/www Current launch storyboard undefined Not changing launch storyboard setting in info plist. Wrote out iOS Bundle Identifier "io.cordova.hellocordova" and iOS Bundle Version "1.0.0" to /Users/maj/src/cordova-web-platform-tests/platforms/ios/WebPlatformTests/WebPlatformTests-Info.plist No need to update build settings for launch storyboard support. iOS Product Name has not changed (still "WebPlatformTests") This app does not have icons defined This app does not have splash screens defined Updating launch storyboard images at platforms/ios/WebPlatformTests/Images.xcassets/LaunchStoryboard.imageset/ Updating Storyboard image set contents.json This app does not have additional resource files defined Prepared iOS project successfully No scripts found for hook "after_prepare". Error: Cannot read property 'name' of undefined {noformat} This is with cordova-ios SHA {{8edd13aaee16d6996a4560a74d17798437b42c6f}}. > 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.4.1 > > > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org