We have submitted our app to TestFlight and we got a warning from Apple that is missing Push Notification entitlement.
This was not happening in Xcode 7.3.
Do we have to regenerate our certificate or is there any option we are missing ?
We have submitted our app to TestFlight and we got a warning from Apple that is missing Push Notification entitlement.
This was not happening in Xcode 7.3.
Do we have to regenerate our certificate or is there any option we are missing ?
The Xcode 8 release notes used to show:
This means you will need to enable push notifications in the capabilities section of the Xcode project after it’s exported from Unity. See the docs here for info about Xcode Manipulation API in Unity: Unity - Scripting API: PBXProject
Side note: now that the release notes are updated for Xcode 8.1, I don’t see this note anymore. I don’t know if that means that in Xcode 8.1 they changed that behavior or not but I highly doubt it.
Thank you Danny.
We are going back to Xcode 7.3 for now. I will look more into enabling the Push Notification in Xcode PBXProject at a later time.
@dannyd Would you mind writing a short guide on how to add those entitlement to your entitlements file manually?
We´ve managed to get push working by editing the xcode project when not using unity cloud, but cant figure out how to do this by code in a PostProcessBuild-script for a cloud build… thanks!
@ . We just moved our project from Xcode 7 to 8 in unity cloud build and to get this warning. Is there a wat to add the entitlements file manually from a PostProcessBuild-script? Thanks!
Hi, is there any definitive answer on this? We need this to work on cloud as well, so a tweak to the Unity project settings or a custom build step seems the answer.
Thanks in advance for the answer,
Kurt
You can find the solution here :