Apple Store Rejection: UIRequiredDeviceCapabilities


#1

Hi! I have created a simple app, based on the “blank” Ionic 2 starter.

After sending it to Apple Store for Beta Testing Approval, I received this rejection explanation:

Performance - 2.3
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 an iPhone nor iPad .
Next Steps
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 section, "Declaring the Required Device Capabilities", in the iOS Application Programming Guide. 

Following is my project “.plist”. I didn’t set the “UIRequiredDeviceCapabilities”. Is this a problem?

Cordova CLI: 6.2.0
Gulp version: CLI version 3.8.6
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.10
Ionic CLI Version: 2.0.0-beta.32
Ionic App Lib Version: 2.0.0-beta.18
ios-deploy version: 1.8.6
ios-sim version: 1.9.0
OS: Mac OS X El Capitan
Node Version: v6.2.2
Xcode version: Xcode 7.3.1 Build version 7D1014


#2

Can’t anyone of Ionic Team help us?

I posted it here because, since I used the default project template, this problem could happens to anyone.


#3

remove the platform and then add it again, then rebuild and try again.

ionic platform rm ios
ionic platform add ios
ionic build ios

#4

as Branden said, sometimes rebuild works!


#5

@brandenwagner @matheo Thanks for replying!

In the end the problem wasn’t related to UIRequiredDeviceCapabilities. Apple gave me a wrong orientation. :slight_smile:

I have discovered that the issue was my project name.

I was using something like this “MyProjectName?” (my app name is a question). The question mark was preventing Apple testers to install the app on their devices.