Search Issue Tracker
Fixed in 2017.3.0f3
Votes
3
Found in
2017.1.0f3
Issue ID
943302
Regression
Yes
[Test Runner][iOS] Exception: Device ID Not Specified when trying to run all tests on player
Steps to reproduce:
1. Open the attached project
2. Click Window->Test Runner
3. In Test Runner Window, select PlayMode tab
4. Click "Run all in player (iOS)"
5. Observe the console
Result: an error is thrown (see below)
Exception: Device ID not specified. Set IOS_DEVICE_ID environment variable for iOS tests and TVOS_DEVICE_ID for tvOS tests
UnityEditor.iOS.Extensions.Common.AppleCommandLineBuildAndRun.GetDeviceIdForTests (BuildTarget target) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/AppleCommandLineBuildAndRun.cs:205)
Expected result: Tests are successfully performed, or a popup/warning appears, informing what needs to be set up for the iOS tests to work.
Reproduced on: 2017.1.0b6, 2017.1.0p5, 2017.2.0b6, 2017.3.0a4
Did not reproduce on: 5.6.3f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity freezes when opening a project
- [Silicon] Artifacts appear in the Game view when resizing the window/entering the Play Mode in a specific project
- Marker in the animation’s preview window doesn’t stop when reaching the end of the timeline and jumps to the start of the animation when moving it with the cursor
- Animation Event marker is not placed on the current time of the timeline when using the “Add Event” button
- Editor crashes on vector_map<ConstantString,AssetBundle when using the LoadAssetAsync function
prime31
May 23, 2018 21:33
I am seeing this with Unity 2018.1, looks like a regression again...
cesar_snake
Nov 08, 2017 08:27
That's it, and it is not fixed yet.
fractalbear
Oct 02, 2017 13:54
Does this mean that we cannot use Test Runner Playmode for iOS?