user4909608
user4909608

Reputation:

Cannot find CFBundleSupportedPlatforms. App Store Upload Failed

Dear developer,

We have discovered one or more issues with your recent delivery for "*****". To process your delivery, the following issues must be corrected:

Invalid Bundle - A nested bundle contains simulator platform listed in CFBundleSupportedPlatforms Info.plist key.

Once these issues have been corrected, you can then redeliver the corrected binary.

Regards,

The App Store team

I received this email after I uploaded my app to the store. I know there are similar questions about this problem online and they say to replace iPhoneSimulator with iPhoneOS.

<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneSimulator</string>
</array>

However I cannot find CFBundleSupportedPlatforms in my project, so I cannot fix the problem.

Any ideas?

Upvotes: 3

Views: 1163

Answers (1)

dev_exo
dev_exo

Reputation: 174

Sometimes this issue is due to some of the frameworks or libraries built for iphonesimulator/macos. The best way to check that is to go through all your libraries or those that were recently added to confirm the architecture they are build for using the 'lipo' tool.

lipo -info frameworkexecutableorlib

Architectures in the fat file: frameworkexecutableorlib are: armv7 armv7s i386 x86_64 arm64

Usually the build process can strip unsupported architectures when archiving/exporting the application.

Upvotes: 0

Related Questions