Moxie customers using the Native Mobile SDK version 2.2 for iOS.
iOS SDK 2.2: Updating info.plist Before Publishing to App Store
THIS ARTICLE APPLIES TO:
ISSUE DESCRIPTION:
There’s a setting in the iOS SDK version 2.2 info.plist that prevents customers from successfully publishing an app with the integrated SDK to the app store.
The response code from Apple is: ERROR ITMS-90542: "Invalid CFBundleSupportedPlatforms value. The key 'CFBundleSupportedPlatforms' in the Info.plist file in bundle '.../MoxieMobile.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."
ROOT CAUSE:
Key value set for testing not reset prior to customer distribution.
SOLUTION OR WORK AROUND:
Update the info.plist value before submitting to app store, or if already encountered when submitting to app store, resubmit to app store:
- In Finder, navigate to the copy of "MoxieMobile.bundle" that is being included in the application.
- Select the bundle to display the contents in Finder.
- Select "Info.plist".
- Open "Info.plist" in Xcode.
- Change the value of CFBundleSupportedPlatforms to "iPhoneOS".
- Save the file.
- Re-archive the application and attempt to upload.