Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR ITMS-90542: "Invalid CFBundleSupportedPlatforms value."

Tags:

xcode

ios9

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)

like image 333
Hugo Avatar asked Sep 22 '15 21:09

Hugo


3 Answers

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

like image 61
Marcus Avatar answered Oct 19 '22 18:10

Marcus


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" },

like image 31
Anit Kumar Avatar answered Oct 19 '22 19:10

Anit Kumar


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.

like image 6
user2623825 Avatar answered Oct 19 '22 19:10

user2623825