Missing "Code Signing Provisioning Profile" in Xcode build options

I am missing the field "Code Signing Provisioning Profile" in the Project Info Build Settings of Xcode. The "Code Signing Identity" setting is there. Xcode version is 3.1, the version of the iPhone SDK I don't know how to find out.

In the Organizer everything is as it should be: my iPhone with the Provisioning-Certificate from the Developer Portal, though I had problems restoring the iPhone with the Organizer so it is still in the state from the iTunes update.

When I build my app and want to run it on the device, the status bar says "Failed to upload asdf.app". My guess is that these to things must somehow be related. This is the output of the console on the Mac:

Xcode: ApplicationVerificationFailed
Xcode: MobileDevice: perform_command: There was an error communicating with the service agent: -402653183
Xcode: MobileDevice: AMDeviceInstallApplication: Could not install package on device: kAMDUndefinedError

iMac, Mac OS X (10.5.4)

Posted on Aug 15, 2008 5:23 AM

Reply
20 replies

Nov 22, 2008 11:20 AM in response to TKAB

Hi TKAB,

How did you resolve the problem in the end. I just installed the new SDK "9m2621" and I am missing the field "Code Signing Provisioning Profile" as well.

I have an app update I need to submit but can't seem to create the Development or Distribution profiles to test my code out on a device.

Thanks for any help.

Nov 23, 2008 1:56 AM in response to Ascon

Sorry, my reply was not at all clear. Basically it seems that the "Code signing identity" field and the "Code Signing Provisioning Profile" fields have been merged. As Scott says, click on the "Any iPhone device" and there is a drop-down list which combines the company name and the provisioning profiles, so you just need to select your company name under the provisioning profile that you want to use.

Nov 23, 2008 4:32 AM in response to spinyanteater

Thanks for your help I clicked on the "Any iPhone device" and selected the correct developer profile but I am still having a problem. I have the certificate installed on my iPhone and within Xcode correctly. I have been developing since July 12th and have suddenly after installing the new 2.2 on my iPhone and the new SDK the development provisioning profiles have stopped working.

My exact error message is:

"Can't run 'Voice Changer' on the device 'iPhone'

The the device doesn't have provisioning profile the application was signed with.

Add the provisioning profile to this device via the Organizer, or check the 'Code Signing Identity' build setting."

Thanks for any help I am really stuck and Apple will take ages to get back to me.

Nov 24, 2008 10:40 AM in response to DJFlatcracker

So how did you know which one to use? When I choose 'Get Info' for the project and choose 'Code Signing Identity' and choose the drop down for 'iPhone Developer: John Smith,' I see about 30 different identities for my one application, all with my name and different dates next to them. Unfortunately, even after downloading an new cert today (just in case this was the issue), NONE of the dates are today.

Needless to say this wasn't a problem until 2.2 got released, but that doesn't help me solve the problem. How do we know which one is the right one, if, indeed, that is the thing that solves the problem.

Thanks for the help.

Nov 25, 2008 12:02 PM in response to Ascon

I had this problem when upgrading to SDK 2.2 as well. For me, the problem seemed to be that I had multiple profiles with the same name but different creation dates. For example, I had two profiles name "Ad Hoc" but one was created sometime in October and one was created just last week.

I fixed the problem by opening up the Xcode organizer window. In 2.2, there's a new side bar that displays the provisioning profiles currently installed on your system. If you are like me, you might have some old profiles with the same name. All I had to do was delete the old profiles and then rebuild in Xcode. If you don't have provisioning profiles with identical names, it probably won't hurt to delete all of the profiles from the organizer and then reinstall them by dragging them back into the organizer.

Hope this helps!

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.

Missing "Code Signing Provisioning Profile" in Xcode build options

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