Since updating to Xcode 9.3, I can no longer run unit or UI tests on iOS apps. I've wiped Xcode and reinstalled it to no avail. To test it I created two new iOS projects from the single view template and included either unit or UI tests.
When I run the tests, the build succeeds and launches the tests. For the UI tests, the test-runner crashes with an assertion failure trying to load a UITestUITests.xctest plugin, for unit tests, the test fails without running any tests complaining “Unable to initialize test bundle from file:///Users/…/UnitTest.app/PlugIns/UnitTestTests.xctest/”.
These plugin files all exist.
Radar #39236687