Hi,
I've been trying to publish my first iOS app to App Store Connect for the past few days without any success. I can run the app on my devices and in the simulator without any errors, both on debug and release mode. I can also archive it without errors. However, when I select Distribute App and follow through the menu to sign the app for App Store Connect, I am presented with this message:
Provisioning profile failed qualification Profile doesn't include the com.apple.application-identifier and com.apple.developer.aps-environment entitlements. I've tried deleting the certificates from Keychain Access, using automatic and manual signing, recreating my app on App Store Connect, including the correct names in my entitlements file, changing bundle IDs and so on, but the error still persists. I'm using Xcode 11.5.
I checked the profiles manually and they show that the entitlements 'application-identifier' and 'aps-enviroment' are there, however the full entitlement names aren't - I read that the full names are for macOS only though.
I've checked everywhere online but I don't seem to be able to find anyone else with this problem. If anyone could help it would be appreciated.
Thanks!