Showing posts with label SDK 4. Show all posts
Showing posts with label SDK 4. Show all posts

Wednesday, July 7, 2010

iPhone AdHoc Provisioning Tip

Has anyone experienced problems with AdHoc provisioning on iPhone SDK 4?
I had a problem that took me while to overcome. Each time I dragged my app into iTunes I got a message saying:
"A provisioning profile named embedded.mobileprovision already exists on this computer. Do you want to replace it?"
I had a perfectly working setup to create AdHoc distributions of iPhone apps. What has changed?
The only difference was that I created a new Target within the same project. Luckily, I had one target that still worked as AdHoc built. I could boil it down to a missing property in info.plist of the new target.
Adding LSRequiresIPhoneOS and setting it to true did the trick.
If you have a similar problem please check out also this blog entry.