gpt4 book ai didi

macos - macOS 应用程序组名称应该以 `group.` 还是开发团队 ID 开头?

转载 作者:行者123 更新时间:2023-12-01 09:03:18 25 4
gpt4 key购买 nike

当我尝试将我的应用程序上传到 Mac App Store 时,出现错误 -

iTunes Store operation failed.

Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on Mac OS X. Specifically, value '[group.MyCompany.MyProject]' for key 'com.apple.security.application-groups' in 'com.MyCompany.mac.MyProject.pkg/Payload/MyProject.app/Contents/MacOS/MyProject' is not supported. This value should be a string or an array of strings, each starting with your TEAMID followed by a dot '.' .



但我读到共享组必须以 group. 开头。前缀 - 那么正确的方法是什么?

最佳答案

不,macOS 应用程序组必须以您的 开头开发团队ID .

The value for this key must be of type array, and must contain one or more string values, each of which must consist of your development team ID, followed by a period, followed by an arbitrary name chosen by your development team



请查看以下来自 Apple 开发页面的示例。
https://developer.apple.com/library/mac/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/EnablingAppSandbox.html#//apple_ref/doc/uid/TP40011195-CH4-SW19
<key>com.apple.security.application-groups</key>
<array>
<string>DG29478A379Q6483R9214.HolstFirstAppSuite</string>
<string>DG29478A379Q6483R9214.HolstSecondAppSuite</string>
</array>

关于macos - macOS 应用程序组名称应该以 `group.` 还是开发团队 ID 开头?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38037745/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com