Xcode: Where is the Entitlements.plist file?

bigpotato picture bigpotato · Sep 13, 2015 · Viewed 23.5k times · Source

I'm trying to submit my first app but it apple keeps giving me an email about Missing Push Notification Entitlement (asked a question here: iOS: Missing Push Notification Entitlement)

This guy here: https://stackoverflow.com/a/16681454/1555312 seems to have an answer, which is to remove the Entitlements.plist file. However, I don't know where this file is. Could you let me know how to 1) locate the file 2) delete it 3) regenerate it?

Answer

Jamil picture Jamil · Sep 13, 2015

You can add entitlement from Project Target.

http://imgur.com/BPwPGc8

you project Target -> Capabilities ->Background Mode-> ON-> select checkbox for Remote notifications