CodeSign error: no provisioning profile found with UUID = '......'

With the new SDK for OS 2.1, when rebuilding my applications I get the message
CodeSign error: no provisioning profile found with UUID = '......'

(where ..... stand for my profile ID)

The provisioning profiles (development and distribution) are where they were before. I tryed reloading it into XCode (dragging to the XCODE icon) but nothing changed. Any idea?

iMac, Mac OS X (10.5.4), iPhone OS 2.1

Posted on Sep 10, 2008 12:52 PM

Reply
14 replies

Sep 11, 2008 11:12 AM in response to g.difalco

I just had the same Problem. Here is how I fixed it:

Show the contents of your .xcodeproj project folder and open the .pbxproj file (Since this could potentially render the project file unusable, you should create a backup first!!!).

Now find all Lines that begin with +CODE SIGNIDENTITY = "+. In my case those lines contained values like

<pre>CODE SIGNIDENTITY = "iPhone Developer: x y"</pre>

I simply did remove the +iPhone Developer: x y+, making each occurence of that line read

<pre>CODE SIGNIDENTITY = ""</pre>

saved the changes, loaded the project in XCode and was able to build.

Make sure you do not alter the line +"CODE SIGNIDENTITY[sdk=iphoneos*]" = "+ as it contains the real value XCode is using.

Sep 11, 2008 1:53 PM in response to Quiqueck

I made yesterday something similar, by resetting the Code Signing Identity and the Code Signing Provisioning Profile to the default (I posted that in a similar thread): then I could continue the development.

Today I had to replace the binary in iTunesConnect and I had to restore the correct functioning with my real identity and provisioninig profile. I succeeded in that by using the normal way (i.e. by editing the project info in XCode): maybe the machine restart changed something. Anyhow, I then discovered that the binary was rejected by the ItunesConnect upload function because there was not "a correct Apple development certificate". I tried a lot of times and now I finally succeded, after having set Active SDK = "Device OS 2.1" (in the project configuration listbox) and in the "Base SDK" (project info). I hope this does not mean that the application is now incompatible with OS 2.0.

I hope this can be useful to somebody.

Sep 19, 2008 7:52 PM in response to g.difalco

I got bitten by this today too. The problem seems to be that the same settings are used for everything, there's no difference between the simulator and the device settings, or at least I can't find a place to put them.

Now it appears, at least to me, that instead of having to set the iPhone Code Signing Identity field to "iPhone Developer:Roland King", and then pull my provisioning profile from the dropdown list, just leaving it at the default (iPhone Developer and Default .. etc ) works and it finds it, that's a change. It seems that if you actually go and set them, it tries to use the same settings for the simulator builds and that fails for .. I have no clue why.

I don't know what you're supposed to do if you have more than one provisioning profile as you couldn't leave it at default then.

I fixed this by the way without actually editing any files, I just clicked 'info' on the 'target' and went to the code signing section there and set everything back to default.

I think this doesn't really work quite right, the simulator builds should, I'm sure, ignore the code signing options and you should be able to set them for the phone builds to a specific code-signing profile.

Sep 29, 2008 1:42 PM in response to Roland King

All of the above experience has helped me "compile" my app which I have been unable to do because of the now famous "no provisioning profile" message. However, now that I can finally compile, I cannot deploy. When I try to deploy (run on the device) I get the message:

"Your mobile device has encountered an unexpected error (0xE800003A) during the install phase: verifying Application."

I have tried powering off the device and restarting my machine but nothing appears to help. Any suggestions?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

CodeSign error: no provisioning profile found with UUID = '......'

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.