I’m getting the error below while I’m building on Unity Cloud Build.
Error Detail with sample information: - INFO: ▸ error: Provisioning profile “Sample Development” has app ID “com.project.sample”, which does not match the bundle ID “com.project.sample.notificationservice”. (in target ‘notificationservice’ from project ‘Unity-iPhone’)
Well, the bundle ID didn’t match, but the suffix notificationservice was appended automatically. We can check the package script make the action.
Question:
I saw again the integration guide and I didn’t see the specific situation of notificationservice append. What do I need to change? just the Topic ID modification will be necessary?
OK, I finally understand what’s going on and I have the fix.
The notificationservice target is built as an App Extension, and by convention its bundle ID should be the App ID with an extra suffix.
You have to create a 2nd provisioning profile for this identifier and provide that to the build.
In my case I am using Unity Cloud Build, and providing 2 provisioning profiles to the build process was not straightforward. It is documented here.
I spent several days trying to find a fix for this. Shame on Unity for not mentioning any of this stuff in their documentation about push notifications.
Thanks for this. Any way you can post the 3 files you added (with any sensitive stuff changed of course). I’m having a bit of trouble figuring out exactly how to go about it (though I think I have the new provisioning file and identifier correct)
nevermind, figured it out.
I wasn’t using just notificationservice as a filter