Just change:
UIRequiredDeviceCapabilities = "microphone"
to:
UIRequiredDeviceCapabilities = {"microphone"}
Note:
UIRequiredDeviceCapabilities
expects it's value as an array
or dictionary
. You are passing it as a string
, that's why the issue is happening.
Reference:
UIRequiredDeviceCapabilities
UIRequiredDeviceCapabilities (Array or Dictionary - iOS) lets iTunes and the App Store know which device-related features an app requires in order to run. iTunes and the mobile App Store use this list to prevent customers from installing apps on a device that does not support the listed capabilities.
If you use an array, the presence of a given key indicates the corresponding feature is required. If you use a dictionary, you must specify a Boolean value for each key. If the value of this key is true, the feature is required. If the value of the key is false, the feature must not be present on the device. In both cases, omitting a key indicates that the feature is not required but that the app is able to run if the feature is present.
Check InfoPlistKeyReference for more details.