I created a menu bar only macOS app using SwiftUI. 'Application is agent (UIElement)' is set to YES in the Info.plist. I use automatic signing.
When I try to upload the app to App Store Connect, I get the following error.
Invalid Provisioning Profile. The provisioning profile included in the bundle de.dasdom.XcodeTips [de.dasdom.XcodeTips.pkg/Payload/XcodeTips.app] is invalid. [Invalid 'com.apple.application-identifier' entitlement value.] For more information, visit the macOS Developer Portal.
I also tried to create the certificates and the provisioning profile myself but got the exact same error each and every time.
How can I fix this?
Xcode Version: Version 14.1 (14B47b) Deployment Target: macOS 13.0