What is the difference between myApp.entitlements and entitlements.plist?
Solution
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.