cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-12190) create.spec tests fail when a device is connected
Date Mon, 28 Nov 2016 19:10:59 GMT

     [ https://issues.apache.org/jira/browse/CB-12190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shazron Abdullah resolved CB-12190.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: cordova-ios@4.3.1

> 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


Mime
View raw message