Error importing ad-hoc iPhone application distribution kit into iTunes

I try to make a beta distribution of my application, but I get this error whenever I try to import it into iTunes:

'A provisioning profile named "embedded.mobileprovision" already exists on this computer. Do you want to replace it?

If I click Replace, a profile named embedded.mobileprovision will appear in the iTunes profile folder, but the application will not appear in iTunes.

The application was built without errors, and I already imported my ad-hoc ad distribution profile into iTunes.

Has anyone else had this problem or does she know how to solve it? I am using iTunes 9.2, Xcode 3.2.3 and iPhone SDK 4.0

Thanks.

+6
iphone xcode ios4 provisioning
source share
2 answers

I solved this problem.

Despite the fact that, as I explained in one of my comments, I could not select "Application Requires iPhone Environment" when editing Info.plist, if I create a new project in Xcode, this option appears.

After that, I copied the Info.plist file from the new project to the project I'm working on now. Then I deleted the original one and renamed the new one.

After updating some other parameters relevant to my project (e.g. Bundle ID) and creating the project, I could then import the application into iTunes.

+3
source share

I had this problem, and circumvented it by selecting “Application requiring iPhone environment” in info.plist. (also known as "LSRequiresIPhoneOS" for source key value)

+6
source share

All Articles