How to add Entitlement.plist in xCode 4.2

Sandeep Dhama picture Sandeep Dhama · Dec 17, 2011 · Viewed 16.3k times · Source

I am using the Xcode 4.2. I did not able to see any method to add Entitlements.plist in this version. So how can i do add that file in my project since i need to install my app on iPhone.

Answer

Vin picture Vin · Dec 17, 2011

Select the target in your project and scroll down. You'll see the option to add a custom entitlement.

enter image description here

For creating a new entitlement, just create a new plist file from new file menu item. Change it's type to iPhone entitlements as shown below. enter image description here