jverkoey/iOS-Framework

XCode 7.1 Archive upload failure

rabidrebeldog opened this issue · 0 comments

Hi -
We provide a resource bundle as part of our SDK distribution. Everything used to work great until we attempted to integrate our SDK into an app built using Xcode 7 and then submitted to the app store.
We are now getting an error from Apple saying "Invalid CFBundleSupportedPlatforms value...". Apparently XCode is inserting a couple of key/values into the generated Info.plist for our bundle.
Specifically:


CFBundleSupportedPlatforms

iPhoneSimulator

and
DTPlatformName
iphonesimulator

These keys are not present in the plist for the bundle and are getting generated during the build phase.
I have learned that if the values are changed manually to "iPhoneOS" then the app store will accept the submission.

Does anyone have any clue as to how to get Xcode to generate the plist with the proper iPhoneOS value?
Otherwise I suppose I'm going to have to write a post-process script to inject to proper values into the plist.

Anyone else seen this issue?