Error creating ios APP when push notification is active

Hello,

I created a new project and set up Firebase exactly as instructed.

Furthermore, I have correctly attached the points for the push notification in Firebase according to the instructions.

Unfortunately, when I create the AppStore app, I get the error message below if push notification is active.

If I deactivate the push notification, the creation of the app works without any problems.

What struck me that in the profile for "Enabled Capabilities" there is only "In-App Purchase"?

Can this be related and if so, how can I change it or what have I done wrong?

Error code:
Error (Xcode): Provisioning profile "smokechb ios_app_store 1690885348" doesn't support the Push Notifications and Sign in with Apple capability.

/Users/builder/clone/ios/Runner.xcodeproj

Error (Xcode): Provisioning profile "smokechb ios_app_store 1690885348" doesn't include the aps-environment and com.apple.developer.applesignin entitlements. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update.

/Users/builder/clone/ios/Runner.xcodeproj

7 replies