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 8074C200BF1 for ; Mon, 28 Nov 2016 20:11:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7F582160B0D; Mon, 28 Nov 2016 19:11:01 +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 C8A76160B22 for ; Mon, 28 Nov 2016 20:11:00 +0100 (CET) Received: (qmail 68186 invoked by uid 500); 28 Nov 2016 19:10:59 -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 68076 invoked by uid 99); 28 Nov 2016 19:10:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2016 19:10:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9A30F2C03E3 for ; Mon, 28 Nov 2016 19:10:59 +0000 (UTC) Date: Mon, 28 Nov 2016 19:10:59 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12190) create.spec tests fail when a device is connected MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 28 Nov 2016 19:11:01 -0000 [ https://issues.apache.org/jira/browse/CB-12190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15702816#comment-15702816 ] ASF subversion and git services commented on CB-12190: ------------------------------------------------------ Commit 40e35ca013788d5a8de86f59ab238b95a35b8c4d in cordova-ios's branch refs/heads/master from [~shazron] [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=40e35ca ] CB-12190 - create.spec tests fail when a device is connected > create.spec tests fail when a device is connected > ------------------------------------------------- > > Key: CB-12190 > URL: https://issues.apache.org/jira/browse/CB-12190 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Environment: iOS 10, Xcode 8, macOS Sierra > Reporter: Shazron Abdullah > Assignee: Shazron Abdullah > Fix For: cordova-ios@4.3.1 > > > When running tests, and a device is connected, the create and build tests fail. > Repro: > {code} > npm install && npm test > {code} > This is because when a device is connected, it also tried to build for it, when it should only build for the Simulator. In Xcode 8, it requires the --developmentTeam flag value when building for a device. > Fix: > Use the {code}--emulator{code} flag when building. > Workaround: > Disconnect your device when testing. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org