我正在沙箱中编写 Mac 应用程序,但似乎无法使代码签名工作。我从“信息”选项卡中为我的目标选择了“开发人员 ID”,并且尝试让 Xcode 自动设置我的配置文件以及自己创建配置文件。该应用程序构建时没有任何错误或警告,但是当我尝试“构建并运行”时,它给出了以下错误:
最佳答案
在 console.app
中,我注意到收到以下消息:
3/5/15 4:46:37.151 PM taskgated[73]: killed com.nateparrott.Boxcar[pid 27408] because its use of the com.apple.developer.ubiquity-container-identifiers entitlement is not allowed (error code -67050)
事实证明,我的项目中的默认授权文件包含 iCloud 容器的空列表,这导致沙箱认为应用程序需要 iCloud 权限(默认配置中未包含这些权限)轮廓)。从权利文件中删除 iCloud 条目解决了问题。
关于xcode - 调试Mac应用程序时出现"Message from debugger: Terminated due to code signing error"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28803510/