Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
iOS 10, Xcode 8, macOS Sierra
Description
When running tests, and a device is connected, the create and build tests fail.
Repro:
npm install && npm test
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
--emulator
flag when building.
Workaround:
Disconnect your device when testing.