The entitlements file defines certain capabilities of your app. Usually, the file is automatically generated by Xcode when you enable a capability for your app.
You only need the file if you enable certain capabilities, e.g. Healthkit integration. If you'd like to use these features, you have to add it. Otherwise, Apple will reject your app.
You can name the file like you want. You can also rename it as long as the build settings point to the correct file name for it.
So when I set up my entitlements in my iPhone app project, I create a new Entitlements.plist, and set the value of get-task-allow to false. But why? What does this key represent?
EDIT
Note this is related to this …
I have downloaded the latest version of Xcode. I want to create Entitlement.plist file in my project.
Please give me proper steps to create an Entitlement.plist file in Xcode.
I'm trying to submit my iOS app in Xcode6. When I click Submit or Validate in the organizer, a window pops up that says:
Failed to locate or generate matching signing assets:
Xcode attempted to locate or generate matching signing …