I have submitted many app builds to TestFlight, even yesterday, but today when I tried to submit my app to TestFlight via XCODE I get the following error:
ERROR ITMS-90164: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: '[ ]' for the key 'com.apple.developer.healthkit.access' in 'Payload/Runner.app/Runner'."
I'm building a flutter project via XCODE. I have tried the following:
- Cleaning my project.
- Re-enabling automatic app signing in XCODE.
- Deleting my provisioning files from ~/Library/MobileDevice/Provisioning\ Profiles/
- Disabling automatic signing in xcode and creating my own provisioning profile via the Apple Developer site
But I'm still getting this error. My enablements haven't changed from the last time I uploaded my app. Please help, thank you.