Post

Replies

Boosts

Views

Activity

Reply to UIRequiredDeviceCapabilities error when publishing to App Store Connect
Hi, I experienced this issue as well and had a bit of a difficult time figuring out what happened, but I was able to fix it. This may or may not work in your case. I deleted the UIRequiredDeviceCapabilities array from the info.plist in both my app and app clip, and built the app to my phone. Xcode's debugger errored saying that the app clip's required device capabilities needed to match the main app's capabilities, and included multiple capabilities in the error message, including location-services. This means it's not looking at my info.plist files... I grepped for location services in the project root, and found that project.pbxproj was the only spot that contained the UIRequiredDeviceCapabilities array containing location-services so it got it from there. project.pbxproj is actually hidden inside of your .xcodeproj package, you have to show package contents to access it. I deleted the UIRequiredDeviceCapabilities array from that file, and then re-added the device capabilities to both my app and the app clip's info property lists and it resolved the issue. My guess is, it's looking inside that file to determine what the required device capabilities are, and it was out of sync with my info.plist files. Hope this helps!
Aug ’22