Vikki
Vikki

Reputation: 211

The app's Info.plist can't contain values for the UIRequiredDeviceCapabilities key

"The app's Info.plist can't contain values for the UIRequiredDeviceCapabilities key that would prevent this app from opening on any iOS device. For more information, see Understanding the UIRequiredDeviceCapabilities Key."

I keep getting this error when trying to submit the app for review on iTunes Connect.

I'm using: Xcode 6.1.1, Application Loader 3.0, LiveCode 6.7 (tried with 7.0.1 as well, same result)

Build for iOS:

In my app, I'm using mobilePickPhoto to snap and get photo from library.

Please let me know if anyone have encountered the same issue before...

Thank you.

Upvotes: 20

Views: 11670

Answers (4)

Andrew
Andrew

Reputation: 3969

When updating an app, it seems you cannot add new restrictions to the Required Device Capabilities. The automatic validation service that Apple has integrated into Xcode will reject any update with more restrictive UIRequiredDeviceCapabilities than the earlier version before you can even upload it to iTunes Connect.

http://oleb.net/blog/2011/12/uirequireddevicecapabilities-cannot-be-changed-in-app-updates/

Upvotes: 10

matt_goodall
matt_goodall

Reputation: 81

I didn't need any hardware checking with my similar issue but removing UIRequiredDeviceCapabilities completely and changing the project format to 6.3 compatible seemed to get around this issue for me.

Mine was an old project, originally set to Xcode 3.2 compatible.

Upvotes: 2

jalmaas
jalmaas

Reputation: 918

I removed <string>armv7</string> from the array in UIRequiredDeviceCapabilities in info.plist and now my status is waiting for review. Seems like it was a iTunes Connect-bug in my case

Upvotes: 23

Droppy
Droppy

Reputation: 9721

It looks to me like auto-focus-camera and still-camera are mutually-exclusive.

From the reference:

auto-focus-camera Include this key if your app requires (or specifically prohibits) autofocus capabilities in the device’s still camera. Although most developers should not need to include this key, you might include it if your app supports macro photography or requires sharper images in order to perform some sort of image processing.

still-camera Include this key if your app requires (or specifically prohibits) the presence of a camera on the device. Apps use the UIImagePickerController interface to capture images from the device’s still camera.

I would imagine that auto-focus-camera implies still-camera, so I would remove still-camera as a requirement. This is just a guess, however.

Upvotes: 1

Related Questions