Xcode couldn't find any iOS App Store provisioning profiles

Hi!

I created a branch to add push notifications to my iOS app but when I try distributing it with Xcode I get several errors:

  • Profile doesn't support Push Notifications
  • Profile doesn't include the aps-environment entitlement
  • No profiles for 'com.[...].notificationService' were found. Xcode couldn't find any iOS App Store provisioning profiles matching 'com.[...].notificationService'

But everything is set up just right! I've never had these kind of issues.

I used Firebase to add Push Notifications, following every step to include them (adding capabilities etc). The app works just fine along with notifications and the notifications service extension.

Also my certificates are up to date. (Both the Apple Development and Apple Distribution one)

I tried deleting all the provisioning profiles here: Library/MobileDevice/Provisioning Profiles and then downloading them manually but nothing.

Also, in the main branch I noticed the project relies on the provisioning profiles found in the folder above. If I delete them I can't distribute the main branch either with a similar error. And I can't seem to generate them again.

What am I doing wrong and what am I missing?

Answered by Nasonov in 689731022
Accepted Answer
Xcode couldn't find any iOS App Store provisioning profiles
 
 
Q