dump entitlements from iOS/macOS App

在终端中输入如下命令:

codesign -d --entitlements - --xml /Applications/xxxxxx.app | plutil -convert xml1 -o - -

结果:

Executable=/Applications/xxxxxx.app/Contents/MacOS/xxxxxx
<?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">
<dict>
	<key>com.apple.application-identifier</key>
	<string>XXXX.com.xxx.xxx</string>
	<key>com.apple.developer.game-center</key>
	<true/>
	<key>com.apple.developer.team-identifier</key>
	<string>XXXXXX</string>
	<key>com.apple.security.app-sandbox</key>
	<true/>
	<key>com.apple.security.application-groups</key>
	<array>
		<string>XXXXXX.group.cn.xxxx</string>
	</array>
	<key>com.apple.security.files.user-selected.read-write</key>
	<true/>
	<key>com.apple.security.network.client</key>
	<true/>
</dict>
</plist>
amadman
amadman

iOS,macOS,Web,STM32,Unity3D,Blender,ML,AI

Articles: 12