Tuesday, June 13, 2017

How to Find The Entitlements a macOS App

Sandboxed apps have their entitlements embedded into the signing data. To see what any app's entitlements are, type the following in Terminal:

codesign -d --entitlements - /Applications/Some.app/
This will print out a plist. For example:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">

No comments:

Post a Comment