首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Xcode 11,命令CodeSign失败,退出代码为非零

问Xcode 11,命令CodeSign失败,退出代码为非零
EN

Stack Overflow用户
提问于 2019-10-02 05:55:31
回答 7查看 19.1K关注 0票数 12

自从(违背我的意愿)更新到Xcode 11之后,当我试图构建我的项目时,我就会收到这个错误:

代码语言:javascript
复制
CodeSign /Volumes/HDD/OpenFrameworks/of_v0.9.8_osx_release/apps/plus-pool-light/pplight-ofx-098/bin/pplight-ofx-098Debug.app (in target 'pplight-ofx-098' from project 'pplight-ofx-098')
cd /Volumes/HDD/OpenFrameworks/of_v0.9.8_osx_release/apps/plus-pool-light/pplight-ofx-098
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

Signing Identity:     "-"


 /usr/bin/codesign --force --sign - --entitlements /Volumes/HDD/OpenFrameworks/of_v0.9.8_osx_release/apps/plus-pool-light/pplight-ofx-098/build/pplight-ofx-098.build/Debug/pplight-ofx-098.build/pplight-ofx-098Debug.app.xcent --timestamp=none /Volumes/HDD/OpenFrameworks/of_v0.9.8_osx_release/apps/plus-pool-light/pplight-ofx-098/bin/pplight-ofx-098Debug.app

/Volumes/HDD/OpenFrameworks/of_v0.9.8_osx_release/apps/plus-pool-light/pplight-ofx-098/bin/pplight-ofx-098Debug.app: code object is not signed at all
In subcomponent: /Volumes/HDD/OpenFrameworks/of_v0.9.8_osx_release/apps/plus-pool-light/pplight-ofx-098/bin/pplight-ofx-098Debug.app/Contents/Frameworks/GLUT.framework
Command CodeSign failed with a nonzero exit code

我已经试过清理我的项目,重新设置我的登录密钥链,重新启动我的计算机,但是我仍然收到这个错误.该怎么办呢?

我正在使用OpenFrameworks构建OSX应用程序,而不是iOS应用程序。当我在Xcode 10.3中构建它时,工作正常,没有错误。

这个问题的部分是独特的,这是为Xcode 11,而不是10,而没有任何其他问题的答案对我有效!

EN

Stack Overflow用户

发布于 2020-07-25 10:11:49

我通过确保Build中的代码签名标识是正确的解决了这个问题--不仅仅是一般的Apple Development,然后在“产品”菜单中清除了Build文件夹。当我再次运行它时,它没有出错。

票数 0
EN
查看全部 7 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58195914

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档