Do i require distribution provisioning profile for notification service extension for iOS?

I am not getting proper documentation for Notification Service Extension's provisioning profile. But as per my knowledge, the Notification Service Extension has it's own bundle id, it must be set up with it's own App ID and provisioning profile.

Please clear this doubt that do i need to use distribution provisioning profile for notification service extension or not?

Answered by KMT in 279643022

A profile is needed - I think the question is if it is required to be wildcard or explicit.


From the docs:


Configuring Push Notifications

Apple Push Notification service (APNs) allows an app that isn’t running in the foreground to notify the user that it has information for the user. Use Xcode to enable push notifications. If necessary, Xcode creates an explicit App ID with the APNs entitlement enabled and a team provisioning profile using the explicit App ID. You then generate and download a corresponding client SSL certificate—this step fully enables push notifications—and later, install the client SSL certificate and key on your server.

Accepted Answer

A profile is needed - I think the question is if it is required to be wildcard or explicit.


From the docs:


Configuring Push Notifications

Apple Push Notification service (APNs) allows an app that isn’t running in the foreground to notify the user that it has information for the user. Use Xcode to enable push notifications. If necessary, Xcode creates an explicit App ID with the APNs entitlement enabled and a team provisioning profile using the explicit App ID. You then generate and download a corresponding client SSL certificate—this step fully enables push notifications—and later, install the client SSL certificate and key on your server.

Every App extension needs its a provisioning profile.

I got mine to work with a provisioning profile that didn't need capabilities.
@KMT is not aswering the question. It is not about enabling apns but about the Notification Service Extension which is in fact a target. I'm not sure either if that needs a profile of its own, but I made one (maybe AppGroup ID would be the solution?).
And does this new profile take care of apns or the profile for the app itself?
Do i require distribution provisioning profile for notification service extension for iOS?
 
 
Q