- I added a UI Tests target as per the WWDC talk- went to target navigator in the Xcode project settings, + on an iOS UI Testing bundle under iOS -> Test, assigned Target to be Tested to the main app target.
- Create a new UI Test case in the MyAppUITests.m, press record.
- The test is able to recorded on the test device. Record test, stop recording works.
- Attempt to run a test case from the play button next to the test case in MyAppUITests.m, the following error messages result:
Failed to code sign "MyAppUITests."
No provisioning profiles matching an applicable signing identity were found.
Xcode can attempt to fix this issue. This will reset your code signing and provisioning settings to recommended values and resolve issues with signing identities and provisioning profiles.
5. Press Fix Issue - Resolving code signing issues... progress dialog appears, then the following alert:
Unable to fix code signing issue.
Xcode failed to resolve the issue. Check your code signing settings; ensure you have a matching signing certificate and provisioning profile installed; and try again.
The Unit Tests target play on the device as expected. Any ideas what's the source of this issue?
Under Edit Scheme -> Build:
Both MyAppUITests and MyAppUnitTests have the following: