I\'m using Xcode 8 to automate my application. I get started by downloading an existing code: XCUIToDo project. I opened the project in Xcode, and when I cl
Click on Project Root, then Targets -> XCUIToDoUITests target. From the General tab, check the "Target Application" setting under Testing section. The value in the dropdown should match the XCUIToDo target.
The problem is not on the UITest schema or target. When starting to record, the main schema (the one which runs the application) needs to be selected regardless if you have your UI tests on a different schema.
Ensure that an executable is selected for your UITest scheme.