What use is a .plist permissions file?

I have some questions regarding file permissions.

1) what is the use of the file rights.

2) what will happen if I do not add it.

3) what is the difference between myApp.entitlements and .plist rights?

+15
source share
3 answers
  • The rights file defines certain features of your application. Typically, a file is automatically generated by Xcode when you enable features for your application.
  • You only need a file if you enable certain features, for example. Health system integration. If you want to use these features, you must add it. Otherwise, Apple will reject your application.
  • You can name the file as you want. You can also rename it if the build options point to the correct file name for it.
+21
source

The rights are announcements that โ€œI am going to use this function, for example, APPLE PAYโ€, and the security profile will say: โ€œYes, dear, you can use the Apple Pay functionโ€.

Rights are part of a code-signed application.

+2
source

myApp.entitlements is an Xcode plist generated when you enable features (like push notifications) for that specific purpose.

0
source

Source: https://habr.com/ru/post/1205629/


All Articles