21
votes

I cannot submit my ipa of a iOS9 hotfix to the appstore, this is the errors I get on the Application loader:

ERROR ITMS-90542: "Invalid CFBundleSupportedPlatforms value. The key 'CFBundleSupportedPlatforms' in the Info.plist file in bundle 'Payload/PgapIos.app/GoogleMaps.bundle' contains an invalid value '( "iPhoneSimulator" )'. Consider removing the CFBundleSupportedPlatforms key from the Info.plist. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."

ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/PgapIos.app/GoogleMaps.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."

I have xcode 7.0 (7A220)

9

9 Answers

22
votes

I just got these same warnings with the GoogleMaps bundle. I did what the error messages recommended: Going to the offending info.plist file (in XCode) and deleting the keys that the error messages recommended. This worked for me on my next attempt to upload my app to iTunesConnect

12
votes

ERROR ITMS-90542: "Invalid CFBundleSupportedPlatforms value

I am trying to upload a .ipa file to app store and I was getting the error 'CFBundleSupportedPlatforms' in the Info.plist iPhoneSimulator.

I have resolve this error. You need to update the GoogleMaps.bundle and GMSCoreResources.bundle info.plist.

CFBundleSupportedPlatforms = { "iPhoneSimulator" },

Replace with iPhoneSimulator to iPhoneOS

CFBundleSupportedPlatforms = { "iPhoneOS" },

6
votes

I had a ton of trouble actually finding the Info.plist. This is NOT your project's .plist file. Instead, search your entire Xcode project using shift+command+f and search for whatever is invalid, i.e. search for "CFBundleSupportedPlatforms" etc.

2
votes

I was having the same issue, and editing the plist file of googlemaps framework was not working for me, I solved it by removing the framework and installing it with cocoapods. use this guide

1
votes

I also encountered this error. I happened to be using Carthage to manage some framework dependencies. The solution for me was to ensure I was not including any of the dSYM files that Carthage will generate for you into the app's resource bundle.

0
votes

It is a case issue in the items of

CFBundleSupportedPlatforms

Yo can change it to something like:

iphonesimulator

Fixed my issue with this.

0
votes

If you're installing from cocoapods, it may be that you are using an older version of the Google Maps pod. I was using 1.10.1 and got this error. I did a pod update GoogleMaps and it went up to 2.2.0 ; and the problem went away.

0
votes

I have resolved above error in my end Xcode 8. You need to update the GoogleMaps.bundle and GMSCoreResources.bundle info.plist.

CFBundleSupportedPlatforms = { "iPhoneSimulator" },

Replace with iPhoneSimulator to iPhoneOS

CFBundleSupportedPlatforms = { "iPhoneOS" }

Thanks to @Anit kumar

0
votes

CFBundleSupportedPlatforms Replace with iPhoneSimulator to iPhoneOS in both GoogleMap.info -> info.plist and GSMCoreResources.bundle -> info.plist

Also remove REMOVE the following key entirely in both GoogleMap.bundle -> info.plist and GSMCoreResources.bundle -> info.plist