Xcode 7 UI Debugging Recording. No buildable for testable
Asked Answered
H

3

12

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.

Hognut answered 17/8, 2015 at 7:10 Comment(0)
F
16

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.
Furious answered 13/1, 2016 at 12:31 Comment(1)
The picture is very helpful for those who may not know where to look. If you app is already selected, try selecting "None" and then select you app as was suggested in another answer.Cruck
P
21

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

Pericycle answered 28/10, 2015 at 6:36 Comment(0)
F
16

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.
Furious answered 13/1, 2016 at 12:31 Comment(1)
The picture is very helpful for those who may not know where to look. If you app is already selected, try selecting "None" and then select you app as was suggested in another answer.Cruck
J
3

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.

Jolynnjon answered 19/8, 2015 at 12:43 Comment(1)
Thank you. I deleted both the Tests & UITests folders in the project navigator as well as the Test & UITest targets referenced in the show project and targets list.Simonesimoneau

© 2022 - 2024 — McMap. All rights reserved.