I’m a bit confused on how I’m supposed to add push notification capabilities to an app where I have generated provisioning profiles/certs using fastlane match
I’m trying to run my device in development after enabling and setting up push notifications but keep seeing the error that the capabilities are not supported by the development provisioning profile that match
generated for me
I have tried a number of times to nuke the development cert and generating a new one but it continues to create a certification without push notification capabilities enabled
What is the process I am supposed to go through to add push notifications and generate a new provisioning profile/certificate with push notification capabilities?
2
Answers
I had the same issue!
You need to also add the capability to the app identifier via the apple developer portal. Once the capability is added to your app’s identifier,
match
will generate provisioning profiles with the correct capabilities.From Apple’s docs:
For me, the solution was to go and delete the existing provisioning profile managed by match from the developer portal. Then, it re-created the correct provisioning profile and everything is good now.