When working with multiple provisioning profiles you may occasionally encounter the CodeSign error. This may occur when opening up old projects that were built with profiles that you no longer have available. In some cases, either the release or debug build will work and the other will result in the error. The steps below fixed the issue for us:
- In our case, we created a new wild card provisioning profile.
- Delete old provisioning profiles in the Xcode Organizer.
- From the Apple Developer Site, we downloaded the new provisioning profile.
- Next drag it to the Xcode icon to install. You can verify this profile using the Xcode Organizer by selecting your device and you should see the new profile under Provisioning. (If not you can click the + to add it.)
- In Xcode, expand Targets and you'll see the application name - in this case Contacts. (See Image 1)
- Double click on the application name to open the Targets "YourApp" Info dialog. (See Image 2a)
- In the Code Signing section, Code Signing Identity, Any iPhone OS Device, my original setting, which was causing the error, was Don't Code Sign. (See Image 2a)
- Next using the right column drop-down list, select the proper certificate. Note, once you select the drop-down the invalid certificate entry is gone (in my case iPhone Developer). (See Image 2b)
- Now select Build then Clean All Targets with Also Clean Dependencies and Also Remove Precompiled Headers checked.
- Select Empty Caches from the Xcode menu.
- Now you should have success when clicking Build and Run on your device.
Image 1.
Image 2a.
Image 2b.
So is there any fix for that error?
Posted by: Cell phone tracker | July 27, 2010 at 02:23 AM
great..finally I found this solution to solve issue that happen a couple of days..thanks for tips
Posted by: iphone development | October 20, 2010 at 04:20 AM
****************************
I'd love to buy one of these. Can you point me in the right direction?********************************
Posted by: barefoot shoes | May 19, 2011 at 10:40 PM
Does it not depend on the method by which the $100/$120 is paid? Someone who values their time is more likely to settle for $100 instantly rather than go out of their way in 3 days' time to pick up an extra $20... once the subject has to go away and come back to pick up money, it makes little difference how long they have to wait so they opt for more. So they're willing to give up $20 to avoid wasting time in the future - would that make sense?
Posted by: Puma Outlet | September 01, 2011 at 08:58 PM
i appreciate your post thanks for posting this!.
Posted by: freelance writing | December 07, 2011 at 09:11 AM
We are not Zagat - at least not yet. Regrettably, three or four of the first copies of the guide sold had a corrupt text.
Posted by: north face vest | December 23, 2011 at 02:05 AM