iOS SDK 2.2: Updating info.plist Before Publishing to App Store

THIS ARTICLE APPLIES TO:

Moxie customers using the Native Mobile SDK version 2.2 for iOS.

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:

  1. In Finder, navigate to the copy of "MoxieMobile.bundle" that is being included in the application.
  2. Select the bundle to display the contents in Finder.
  3. Select "Info.plist".
  4. Open "Info.plist" in Xcode.
  5. Change the value of CFBundleSupportedPlatforms to "iPhoneOS".
  6. Save the file.
  7. Re-archive the application and attempt to upload.

 

AFFECTED SYSTEMS & USERS:

ADDITIONAL INFORMATION:

ESCALATION PROCEDURE: