2016-06-26 63 views
1

当我试图上传我的应用程序在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 '.' . 

不过,我看到的是,共享组必须跟团开始。前缀 - 那么正确的方法是什么?

回答

2

不,您必须从您的开发团队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

请检查下面的示例从苹果开发页面。
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> 
+0

是的,我已经修复它(旧线程...),但无论如何感谢。 – Roee84

2

group.identifier用于iOS应用组名称; TEAMID后跟一个点,然后名称(如错误消息所述)用于Mac App组名称。

还请记住,这必须是您的开发团队ID;不要使用$(TeamIdentifierPrefix),正如Xcode所建议的那样。

由于某些原因,$(TeamIdentifierPrefix)构建时变量在归档项目时未能正确解析。

使用杰里的应用程序组名称应该工作。