如何获取现有MacOs应用程序的功能列表

问题描述

如何获取现有MacOs应用程序的功能列表(https://developer.apple.com/support/app-capabilities/)? 计划注册AppId,并希望将我的列表与现有应用程序进行比较。

关于, 帕维尔

解决方法

假设,您可以检查Embedded.provisionprofile中的“ Entitlements”键,并从Google Chrome个人资料中获取权利列表,例如

<key>Entitlements</key>
    <dict>
        <key>com.apple.developer.associated-domains.applinks.read-write</key>
        <true/>
                
                <key>com.apple.application-identifier</key>
        <string>EQHXZ8M8AV.com.google.Chrome</string>
                
                <key>keychain-access-groups</key>
        <array>
                <string>EQHXZ8M8AV.*</string>
        </array>
                
                <key>com.apple.developer.team-identifier</key>
        <string>EQHXZ8M8AV</string>

    </dict>