Info.plist may not contain the UIRequiredDeviceCapabilities key

When I try to download the iOS + apple watch app in iTunes using Application Loader, I get an error

ERROR ITMS-90595: "Unsupported key. Info.plist from Watchless.app/Watch/WatchlessWatchApp.app/PlugIns/WatchlessWatchApp Extension.appex may not contain the UIRequiredDeviceCapabilities key."

Info.plist contains

<key>UIRequiredDeviceCapabilities</key> <array> <string>healthkit</string> </array> 

which, it seems to me, is absolutely necessary, because the application application and applications for iOS applications are highly dependent on HealthKit.

A record is created when I turn on the HealthKit function for the purpose of expanding the clock.

I'm running out of ideas on what to change.

Using Xcode 7.2, Application Loader 3.4

+6
source share
1 answer

UIRequiredDeviceCapabilities is just your way of saying, β€œI don’t want it to be installed on a device without this feature.”

Removing this value will not affect the extension of your chat with HealthKit .

Just remove the UIRequiredDeviceCapabilities from plist in your extension, and everything should be fine.

+18
source

All Articles