Skip to content

Commit 4b8abed

Browse files
authored
Add a section for Entitlements (#2834)
* Add a section for Entitlements Adding a small section describing the default behavior of the Entitlements. * Fix the path to the entitlements file
1 parent 9c6bf82 commit 4b8abed

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,12 @@ The NativeScript CLI respects any platform configuration files placed inside `ap
259259

260260
Additionaly, you can modify `app/App_Resources/build.xcconfig` and `app/App_Resources/app.gradle` for adding/removing additional build properties for iOS and Android, respectively.
261261

262+
### Modifying Entitlements File (iOS only)
263+
264+
To specify which Capabilities are required by your App - Maps, Push Notifications, Wallet and etc. you can add or edit the `app.entitlements` file placed inside `app/App_Resources/iOS`. When building the project, the default `app/App_Resources/iOS/app.entitlements` file gets merged with all Plugins entitlement files and a new `yourAppName.entitlements` is created in the platforms directory. The path would be `app/platforms/ios/<application name>/<application name>.entitlements` and will be linked in the `build.xcconfig` file.
265+
266+
You can always override the generated entitlements file, by pointing to your own entitlements file by setting the `CODE_SIGN_ENTITLEMENTS` property in the `app/App_Resources/iOS/build.xcconfig` file.
267+
262268
[Back to Top][1]
263269

264270
## Prepare for Build

0 commit comments

Comments
 (0)