Making iPhone Distribution Profiles Show Up
I’ve been having lots of trouble getting new or updated iPhone profiles to show up in XCode, and I think I may have finally stumbled on the answer. It appears that XCode does not re-scan the provisioning profiles from your library if you have the simulator as your default target.
After installing and reinstalling, starting and stopping XCode, iTunes, rebooting, etc for hours. I was testing the theory that maybe it doesn’t show the list of profiles if there’s only one by building for the device, and then examining the package. I did this and it did have a profile.
Then when I went back into XCode, my profiles list appeared! I’ll keep testing this theory but I think it’s the key. It feels like it fits with the pattern I’d seen before as things mysteriously appeared.
| Permalink | Comments[3] |
Related Items
Recent Entries
» How to make the Flip Mino HD import into iMovie 09
» How to patch Xcode to work with Subversion 1.5
» iTunes 8 on Windows XP x64
» iPhone SDK Code Signing Insights
» Making iPhone Distribution Profiles Show Up
You can skip to the end and leave a response. Pinging is currently not allowed.
September 22nd, 2008 at 8:44 pm
I have been struggling with this problem for the last few hours. Your theory is correct: if everything else looks like it should work (private keys for everything in the Keychain utility, profiles in ~/Library) just build with the new target and let Xcode fail on provisioning. Then go back into project settings.
Thanks!
November 8th, 2008 at 3:25 pm
OH MY GOD! YOU ARE A GENIUS! THIS HAS SIMPLY KILLED ME! Thank you so much for blogging this. After 6 different apps I was still totally in the dark on this problem and it loved to just kick my behind.
Thanks!