Search code examples
iosiphonexcodexcode7xcode-ui-testing

Xcode 7 UI Tests, Recording button is greyed out


I am trying to add UI tests to my existing project using Xcode 7. However the UI test recording button is always greyed out. What I am missing here?

I tried restarting Xcode, cleaning and rebuilding the project and adding a new UI test target. Does anyone else experience the same behaviour?


Solution

  • FWIW: I had this problem and it turns out I was trying to run the simulator in the wrong OS.

    I was trying to use iOS 8, and UITesting only works in iOS 9+.

    Switch the simulator version, and the record button appears.