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

Submitted an app to TestFlight yesterday without failure, submitted the same app today (only change is build number) and after upload I get the following email from iTunes:


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


Have tried multiple rebuilds/uploads, confirmed there are no CFBundleSupportedPlatforms with any value other than "iPhoneOS". Have tried removing all CFBundleSupportedPlatforms enties in PLists. Looks like an appstore bug? Anyone else seeing this?

Yes, same problem here. Submitted app to Testflight a couple of days ago, worked fine, but today I also get the error:


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


Only thing changed is build number.


I have checked my info.plist and it doesn't even contain the CFBundleSupportedPlatforms key, so I don't know what to do here.

If this is an AppStore bug I hope it gets fixed soon!

We are having the same issue currently and haven't found a work around yet.


-Jason

I received the same error just now as well. I haven't been able to find a workaround.

Accepted Answer

Looks like Apple have additional checks around 3rd party frameworks now, after upload. We found one of our dependencies (KeychainAccess.framework) had the offending entry in their Info.plist:


<key>CFBundleSupportedPlatforms</key>

<array>

<string>iPhoneSimulator</string>

</array>


Replacing this with <string>iPhoneOS</string> resolved the issue for us as we can now submit without failure.

Hey!

I also have this problem and as you, none of my info.plist contain the CFBundleSupportedPlatformsd key, have you found a solution? I can't find any information about this issue just this post.

Hey Guys!


I have found the "Info.plist" that contains the simulator string, if you also have a hard time finding it you can search on your terminal.

You have to open a terminal, move to the directory where your project is located, and there run this command.


find ./ -name "Info.plist"


It will list all the Info.plist files on your project, then you can check one by one, some of them can't be edited and you will have to ask the provider for an update.


Greetings!

I ran into the same issue. apparently there must have been some update in the cloud after the Apple event.


Apple, this is ****! We are in a time critical delivery.


None of the plists in the project has the mentioned key CFBundleSupportedPlatforms set to iPhoneSimulator.

Hello,


One question, should i remove the array tags too? and just keep <string>iPhoneOS</string>? will it solve the issue? sorry if my doubt is stupid , i dont have much idea about coding. Thankyou

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