uucp
uucp

Reputation: 429

Xcode 7 UI Debugging Recording. No buildable for testable

Xcode prompts "No buildable for testable" when the record button is clicked.

In my Xcode project, targetting for iOS, there is an Objective-C testing target and a Swift testing target, both for UI Testing. As guided by the Apple UITestingGuidelines, I moved the insertion point to the testExample function and clicked the record button. Immediately after the button is released, there is a pop-up alert with message "No buildable for testable". I've already tried restart the project several times but it did not work.

Upvotes: 12

Views: 2034

Answers (3)

Peheje
Peheje

Reputation: 14234

Had to change this

  • Here is a picture for the setting that resolved the issue for me.
  • It was set to "None" I chose my target application instead.
  • I had to expand the little sidebar by clicking the button to the right of the selected "wiserIos M" column.

Upvotes: 16

Cinoss
Cinoss

Reputation: 340

My solution was go to project setting. Set target application to None and then back to original app. And it works

Upvotes: 21

Manuel
Manuel

Reputation: 51

I've had the same problem. My solution was to delete all testing targets and simply recreate them. Afterwards ensure your testcase has the correct target membership. Now it should work.

Upvotes: 3

Related Questions