将Mac App发布到AppStore必须对Entitlement.plist 文件添加各种属性,下面是官方的参考文档非常有用。https://developer.apple.com/library/content/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/EnablingAppSandbox.html