Quote:
Originally Posted by Csprocket777
Ok. I figured it out (for me at least)
In XCode, in the "Groups & Files" pane, expand "Targets" and double-click on your app's target.
This will bring up the Info pane for your target. In the "Build" section, check the "code signing" section for any old profiles. I found that it was building to an old profile there.
|
Strange, this didn't work for me, as it seems to have for everyone else.
For me, the error began when I renewed my provisioning profile. To be sure, I removed all existing provisioning profiles from both my device, and the xCode organizer.
I downloaded my renewed profile, installed to xCode with device plugged in (but still I had to manually drag the new profile to the device).
The project in question is a published app, and hasn't changed a byte since its final distribution build.
I can see the new profile installed in the device, and in the organizer. I can once again run the existing build of the app on the device.
In the target code signing options, I have tried every listed profile,
I can build to the simulator, but not to the device, even when I set the target code-signing options to "Do not code sign", I immediately get the error.
I'm stumped!