Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Provisioning profile not found

I have just upgraded my iPhone to the 4S and having restored all of the settings from my old phone I found that three of my apps were missing. I went to the Apple Dev centre and deleted my old phone and then rebuilt and downloaded the profiles with my new phone added. I removed all of the old profiles and copied the newly created ones across. The problem now is that in two of my projects, when I try to build I get an error -

[BEROR]Code Sign error: Provisioning profile '8A69C027-B06A-4A32-ABDA-855990018CA1' can't be found

I have gone into the Build Settings>Code Signing Identity>Debug and selected the correct profile and I've checked in Organizer that the profile exists in both the library and against my phone which has a green light next to it. What am I missing?

like image 586
user616076 Avatar asked Jan 16 '12 10:01

user616076


1 Answers

Open project.pbxproj file in the Textedit app, remove lines with this text 8A69C027-B06A-4A32-ABDA-855990018CA1

These lines should look like this:

PROVISIONING_PROFILE = "8A69C027-B06A-4A32-ABDA-855990018CA1";

Reload Xcode.

ps. don't forget to backup your project!

like image 65
beryllium Avatar answered Oct 17 '22 09:10

beryllium