Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 93860200CEB for ; Sat, 29 Jul 2017 01:15:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 91F3A16DB51; Fri, 28 Jul 2017 23:15:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D718E16DB49 for ; Sat, 29 Jul 2017 01:15:04 +0200 (CEST) Received: (qmail 99675 invoked by uid 500); 28 Jul 2017 23:15:04 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 99663 invoked by uid 99); 28 Jul 2017 23:15:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2017 23:15:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 92B07C039F for ; Fri, 28 Jul 2017 23:15:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id GG9siq8XTY9u for ; Fri, 28 Jul 2017 23:15:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7CE335FBB1 for ; Fri, 28 Jul 2017 23:15:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B0F44E09A4 for ; Fri, 28 Jul 2017 23:15:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6D01B2464D for ; Fri, 28 Jul 2017 23:15:00 +0000 (UTC) Date: Fri, 28 Jul 2017 23:15:00 +0000 (UTC) From: "Filip Maj (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12830) cordova emulate ios with --target throws undefined error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 28 Jul 2017 23:15:05 -0000 [ https://issues.apache.org/jira/browse/CB-12830?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D161058= 44#comment-16105844 ]=20 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=3D"blah"}}. If I try to run that I get: {noformat} =E2=9E=94 cordova -d emulate ios --target=3D"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 modificatio= n. Package.json and config.xml platforms are different. Updating config.xml wi= th most current list of platforms. PlatformApi successfully found for platform ios Checking config.xml for saved plugins that haven't been added to the projec= t 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 platfo= rms/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 Ve= rsion "1.0.0" to /Users/maj/src/cordova-web-platform-tests/platforms/ios/We= bPlatformTests/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:=20 > 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=3D"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