Imported from the Apple Support Forums via the Wayback Machine 🔗
Fellow developers, has anyone experienced this problem when you tried to compile your app for distribution:
Did everything as suggested in this forum, including:
- copying a distribution profile to the right folder and also draging over the Xcode icon
- Adding a "Distribution" configuration
- specifying the identity as "iPhone Distribution: My Name"
However, in the "Code Signing Provisioning Profile" picker, when "Any iPhone OS" is selected, the only enabled choice is "Default ..." and the actual profile with my name is grayed out.
More over, the moment I select "Distribution" and then select "Device" in the "Active Configuration" picker, Xcode closes. This behavior can be reproduced all the time.
Imported from the Apple Support Forums via the Wayback Machine 🔗
I had exactly the same problem, and had already tried lots of things (including starting over with the certificate request etc.). Your post gave me the idea to try and set the Active SDK in the Project menu to "Device - iPhone 2.0" (it was "Project settings"). This solved the problem immediately! The profile is still grayed out in the Organizer (perhaps because it is not linked to the specific device), but I can now select it in the build settings.
0
Andrew Rennard·
Imported from the Apple Support Forums via the Wayback Machine 🔗
I had exactly this problem, and I did several things in the attempt to fix it. Unfortunately, I forget what exactly I did that solved it - I do remember it was something totally obvious in the end.
Try cleaning your project and restarting XCode.
0
Patriciafr·
Imported from the Apple Support Forums via the Wayback Machine 🔗
It is normal that it is grayed out ( don't ask me why 🙂 ). To activate the distribution build, duplicate your Release in Distribution, install all the required certificates ( please apple stop those, they're a nightmare to deal with ) , then in the build settings in the code signing you have to TYPE ( there is no drop down box as seen in some screenshots ) "iPhone Distribution" ( instead of "iPhone Developer" ) and tada a few lines below you should see your drop down modified with some distributions entries.