AppsDev
AppsDev

Reputation: 12509

Do I need to set an Entitlements.plist file to my target to make Push Notifications work?

I'm having a lot of problems trying to configure Push Notifications that I don't understand and I explained in this post. I think I did all I have to do: creating APNS certificates, enabling Push services in App ID, and creating associated provisioning profiles with Push Notifications enabled. All seems to be ok at my Member Center. But this does not work in Xcode, Xcode is not showing me any aps entitlement anywhere... Could it be because in Build Settings > Code Signing > Code Signing Entitlements I have nothing? What should I put there?

Thanks in advance

Upvotes: 4

Views: 8169

Answers (1)

Durai Amuthan.H
Durai Amuthan.H

Reputation: 32320

The direct answer is Yes.

If you are using push notifications then it has to be added in Entitlements.plist or else app can't be installed in latest iOS versions.

enter image description here

Other than enabling push notification in your provisioning profile you have to enable it on xcode capabilities which deals with Entitlements.plist

Upvotes: 5

Related Questions