At the end I found out that the generated APNs certificate is invalid when Mac Catalyst is enabled for the app.
Completely frustrated by the fact that the APNs cert was invalid, I have tried to disable the Push Notifications for the app and that could not be done because the Mac Catalyst was enabled.
I then disabled the Mac Catalyst and tried to generate again a new APNs certificate with the result of getting a valid certificate.
Then there may be something broken on Apple side when generating an APNs certificate with the Mac Catalyst enabled.
Topic:
App & System Services
SubTopic:
Notifications
Tags: