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.
If you are making a new app, make sure you select the “Use UI Tests” checkbox when creating a new Xcode project. To add it in an existing project go to the build folder and on the bottom left you will see the plus button. Selecting that will give you a dropdown menu, where you can then select “UI Testing Bundle”.
Description. The Step runs Xcode's xcodebuild command with the build-for-testing option. This builds your app and associated tests so that you can, for example, upload it to a third-party testing service to run your tests on a real device.
My solution was go to project setting. Set target application to None and then back to original app. And it works
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With