skip to Main Content

I could run my app on simulator, but can’t run any tests. I think they could run only on simulator, but XCode does not show me any button with simulator. How to run test while ios development process?

error

test targets

run targets

2

Answers


  1. You should "Test" the target instead of "Run" it.
    enter image description here

    Login or Signup to reply.
  2. I would say Command U (Run Test). You might also need to select UnitTest from targets.

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