I'm trying to setup application tests to run on my development device but following the steps outlined in Apple's "Development Guide: Unit Testing Applications" (listed here) doesn't seem to be enough. (
After I set the Base SDK to iPhone Device 3.0 and active target to MyAppTesting (Steps 9 & 10 under Application Testing), trying to Build & Run elicited the following error message about provisioning:
Code Sign error: a valid provisioning profile matching the application's Identifier 'com.yourcompany.MyAppTests' could not be found
I've verified that the Identifier (by highlighting the target, show Info -> Properties page) is the same for my regular target as well as my testing version.
What else needs to be followed in order to build and run the test version of the target on the development device? The settings I have do allow me run the application on the allowed development device as well as any of the provisioned distribution devices.