Since upgrading to Xcode 10 my tests (which before the upgrade passed) are no longer being run as far as I can tell. The build succeeds, then the tests fail, but there is no report to say why.
Originally my target OS was 10.3, but I noticed a greyed out iOS11 in the settings, I have since reverted this to 10.3 with no change.
I have restarted my machine and this doesn't seemed to have helped.
Any insight would be helpful.
I do note that this is the inverse of the problem reported here
Thanks
I had the same problem than you and I've found a solution.
In Xcode go to:
Xcode > File > Workspace Settings...
or
Xcode > File > Project Settings...
Change Build System (in shared workspace settings and in per-user workspace settings) from New Build System (default) to Legacy Build System.
I hope this will help somebody in the future :)
Deleting the app, restarting both Xcode and device worked for me.
This answer seems to have worked much like the poster saw the deployment targets seemed off for the test targets.
The test seem to run fine in an XR simulator, which should be iOS12.
Clean Build Folder helps to me: In Xcode go to Product -> Clean Build Folder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With