4

Record UITest button is disabled in Xcode

Deleted derived data, clean the build not solving this problem It's working fine with Xcode 10.1

Is there anything i'm missing?

enter image description here

Kishore Suthar
  • 2,943
  • 4
  • 26
  • 44

1 Answers1

2

I see this a lot as well.

For starters, here is how my class looks after immediately creating the test function:

enter image description here

Notice the following:

  • No record button available, matching OP
  • The diamond indicating it is a test does not appear on the left column

I then run my tests, but stop immediately. Doing that gives me this:

enter image description here

  1. I can now record
  2. The diamond appears on the left column

You can also shut down Xcode and restart, but the above steps are faster.

CodeBender
  • 35,668
  • 12
  • 125
  • 132