Release iOS fails AppStore Review but Debug iOS Works

Debug version of app works but during AppStore Review they sent this rejection reason:

Guideline 2.3 - Performance - Accurate Metadata

We were unable to install the app on iPhone and iPad. The UIRequiredDeviceCapabilities key in the Info.plist is set in such a way that the app will not install on iPhone and iPad .

Next Steps

To resolve this issue, please check the UIRequiredDeviceCapabilities key to verify that it contains only the attributes required for your app features or the attributes that must not be present on the device. Attributes specified by a dictionary should be set to true if they are required and false if they must not be present on the device.

Resources

Please review the Technical Q&A 1397: Understanding the UIRequiredDeviceCapabilities key for information on the UIRequiredDeviceCapabilities key.

You may also wish to review the dictionary keys table in the “Declaring the Required Device Capabilities” section of the App Programming Guide for iOS.

What does your config.xml file look like? If there isn’t anything there which is causing this, you’ll need to look at your plugins to see if any of them could be setting UIRequiredDeviceCapabilities.

It may also be something complete unrelated. See this example.