skip to Main Content

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:

2

Answers


  1. 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

    Login or Signup to reply.
  2. I had a similar problem and solved it by checking the "Allow testing Host Application APIs" option in the test target.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search