When trying to upload to AppStore the Mac Application I am getting the following error:
ERROR ITMS-90283: "Invalid Provisioning Profile. The provisioning profile included in the bundle "MYBUNDLE_NAME" is invalid. [Invalid 'com.apple.developer.aps-environment' entitlement value.] For more information, visit the macOS Developer Portal." (-18000)
Inside the Provisioning Profile I have the following entitlement:
<key>com.apple.developer.aps-environment</key> <string>development</string>