We uploaded an app where in the first version we added to device capabilities “telephony” to restrict only iPhone devices in the info plist. In the second version we forgot to add “telephony” and we submitted to the App store. Third version we are planning to upload with device capabilities as “telephony” but while submitting to the App Store it shows the warning:
This bundle is invalid. The key UIRequiredDeviceCapabilities
in the
Info.plist may not contain values that would prevent this application
from running on devices that were supported by previous versions.
How can we resolve this issue, if we require the device capability “telephony” for application lifetime, but due to my mistake on the second version we forgot to add the required device capabilities? What is the solution for it?
Thanks in advance.
I have the same warning when added to device capabilities “healthkit” t in the info plist.
This bundle is invalid - The key UIRequiredDeviceCapabilities in the Info.plist may not contain values that would prevent this application from running on devices that were supported by previous versions.
delete Info.plist -> Required device capabilities -> Item -> healthkit,upload again to submit review success.
Unfortunately it doesn't seem possible to fix this error. According to Apple's Technical Q&A:
Depending on how you narrow the devices your app supports, you will
get one of two error messages from Xcode when uploading your update to
the App Store.
"This bundle is invalid. The key UIRequiredDeviceCapabilities in the
Info.plist may not contain values that would prevent this application
from running on devices that were supported by previous versions."
When you see this error message, you have added a new constraint,
under the UIRequiredDeviceCapabilities key in your app's info.plist
file.
Important: Because you can't add UIRequiredDeviceCapabilities
restrictions after an app is in the store, be sure to plan ahead by
choosing requirements you will be comfortable supporting indefinitely
going forward.