Failed to archive to iTunes Store

When I try to download my application, I get an error: "You must provide a CFBundleIdentifier for this request." The identifiers (UTI format) in info.plist, General Identification, iTunesConnect and the application identifier (Apple Developer) are similar.

When getting CFBundleIdentifier in applicationdidFinishLaunchingWithOptions: I get the same result.

I changed the name of the project, maybe this is something related to this?

Any suggestions? Thanks!

enter image description here

Info.plist

+8
ios xcode itunesconnect itunes-store
source share
8 answers

I was getting this error when the free space on my Mac hard drive was low

+12
source share

I got the same error. In my case .ipa was placed in a folder. But, since I used the .ipa file extension, when Xcode asked me where to put the output, the file was placed in a package. As soon as I exported the archive again and used only the name for the output, everything worked fine.

+5
source share

Open info.plist and check if Bundle OS Type code null . I had the same problem and I added APPL to the Bundle OS Type code and everything was fine.

See here a useful image .

+4
source share

Change the Bundle OS type code and the package creator OS type code to APPL.

That probably won't work. :-(

Restart Xcode. Now it works :-)

+2
source share

I had this problem and it was solved as follows. First, make sure this is not related to the information in info.plist - as indicated in other answers - make sure the Bundle OS Type code parameter is set to APPL . It's not a problem for me.

With Xcode 8 and later, go to developper.apple.com and delete all iOS and iOS provisioning profiles. Then in Xcode go to Settings. Choose your Apple ID. Click to view details. Right-click the Provisioning profiles and delete them directly or open in Finder and delete them.

Close Xcode. Open again. In your project, in general, clear the Automatically manage signing check box. Recheck it so that Xcode creates a new provisioning profile.

Check the signing and make sure to use the new profile as shown below:

profile details

Good to go!

0
source share

For me, it's all about checking. Full screen required. This option is for iPad mainly. And the error occurs because you can check 3 Orientations for all devices. But the iPad in multitasking requires as many as 4 orientations.

0
source share

In my case, I had two info.plists who sat silently in search .
After removal, I also had a change:
Bundle OS Type code from BNDL to APPL
I have no idea how the changes occurred in the first place, but now it works.

0
source share

In my case, I used someone else's certificate and provided a profile for archiving the application, sent him an IPA file, and he uploaded it to the Apple Store. This led to the same error, the fix was to send the entire dictionary with "ExportOptions.plist", "DistributionSummary.plist", "Packaging.log" and IPA.

0
source share

All Articles