Unit test not running on IOS swift 5

Viewed 796

I'm implementing unit test in Xcode 13 (13A233). I wrote simple test but my xcode fails running test on this project. On other projects it's running fine. It produces an error

Assertions: System: Test runner never began executing tests after launching. If you believe this error represents a bug, please attach the result bundle at /Users/apple/Library/Developer/Xcode/DerivedData/MunchON-eeidlzwuounsfvbrmieuosqzpsih/Logs/Test/Test-MunchON (Staging)-2021.10.05_11-35-54-+0500.xcresult

I'm unable to resolve this issue. Other questions that i have checked already:

1 Answers

Try deleting DerivedData

  1. Open Xcode > Preferences > Locations
  2. Click on the arrow to open DerivedData folder
  3. Delete all from DerivedData folder
  4. Reopen Xcode project

P.S. DerivedData contains cached data such that indexed files etc

FYI It is safe

Related