问题
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.
回答1:
Select the target in your project and scroll down. You'll see the option to add a custom entitlement.

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.

来源:https://stackoverflow.com/questions/8547471/how-to-add-entitlement-plist-in-xcode-4-2