Do I need to install the Entitlements.plist file for my purpose in order to get Push Notifications to work?

I'm having trouble setting up Push Notifications that I don't understand and explained in this post. I think I did everything I needed to do: create APNS certificates, enable Push services in the app ID, and create associated provisioning profiles with Push Notifications enabled. Everything seems to be in order. But it doesn't work in Xcode, Xcode doesn't show me any permissions anywhere ... Maybe because in Build Settings> Code Signing> Code Signing Rights I don't have anything? What should I put there?

Thank you in advance

+3


source to share


2 answers


The direct answer is yes.

If you are using push notifications it needs to be added to Entitlements.plist, otherwise the app cannot be installed on the latest iOS versions.



enter image description here

Apart from enabling push notification in the provisioning profile, you must enable it in the xcode functions that deal with Entitlements.plist

+3


source


follow this link, it clearly describes how to set up push notification



0


source







All Articles