IPhone profile + Provisioning Profile + app-info.plist + entitlements.plist = iPhoneApp? How? What exactly does entitlemets.plist do?

To run my iPhone application, first of all, I have to add a provisioning profile for my iPhone. Good. But I do not understand the reason for adding .plist right in iphone application in xCode under resources.

  • What does this rights.plist file do?
  • Why is there only one Boolean language in this .plist file? (Get-task-permissive)
  • Is it possible to add this variable to application-info.plist?

I mean, I can’t find a reason to save one boolean variable in a separate plist file. Instead, application-info.plist already contains many application parameters. Could we add this Boolean variable to application-info.plist.

Okay anyway. I know it will be impossible. Because we must follow what the apple says. But here the main intention was to

  • "What is the basic need for .plist rights?" or
  • "What is the functionality of .plist law?"
  • "How do profile profiling, entitlements.plist, application-info.plist and the iPhone application get together and do validation on the iPhone and run it on the iPhone?"
+3
source share
1 answer

Rights are actually an iPhoneOS security measure. Quoted from iPhone Design Guide :

. , iPhone (, push-) (, ).

, , , get-task-allow, ptrace() function, , .

, , .

  • task_for_pid-allow, ( task_for_pid())
  • run-unsigned-code, .
  • com.apple.springboard.launchapplications, com.apple.springboard.wipedevice ..

, Info.plist, . , entitlement () .

+3

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