xcode - 调试Mac应用程序时出现"Message from debugger: Terminated due to code signing error"?

标签 xcode macos cocoa code-signing provisioning-profile

我正在沙箱中编写 Mac 应用程序,但似乎无法使代码签名工作。我从“信息”选项卡中为我的目标选择了“开发人员 ID”,并且尝试让 Xcode 自动设置我的配置文件以及自己创建配置文件。该应用程序构建时没有任何错误或警告,但是当我尝试“构建并运行”时,它给出了以下错误:

enter image description here

最佳答案

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/

相关文章:

ios - XCode 项目不会构建(由于未捕获的异常而终止应用程序)

ios - XCode IOS 模拟器不会将我的任务置于后台

XCode 6 测试文件夹

python - 为什么我运行 python manage.py runserver 时有两个进程

C 代码在 Linux 中工作但在 MacOS Mojave 中不工作

c++ - 如何摆脱 OSX10.10 SDK 中的 module.map 警告?

python - 在 Mac 上找不到 openssl/aes.h' 文件

iphone - 在完成 block 中保留循环

ios - NSOperationOperationQueue cancelAllOperations 方法不会停止操作

swift - 如何实现 validateToolbarItem(_ :)?