命令/ usr / bin / codesign失败,退出代码为1 [英] Command /usr/bin/codesign failed with exit code 1
本文介绍了命令/ usr / bin / codesign失败,退出代码为1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有以下错误:
命令/ usr / bin / codesign失败,退出代码为1
Command /usr/bin/codesign failed with exit code 1
以下是我尝试修复此问题的方法:
Here is what I already did for trying to fix this:
- 将包标识符设置为com.server.pgmname
- 将代码签名设置为Any Iphone OS Device
- 将代码签名标识设置为my分发标识。
只有当我尝试在我的设备上构建时才会出现错误,在模拟器上一切正常。
The error only occurs when I try to build on my device, on the simulator everything works fine.
您有什么建议吗?
推荐答案
我刚创建了一个新项目,已复制我所有的课程和资源然后才有效!
I just created a new project, copied all my classes and resources and then it worked!
这篇关于命令/ usr / bin / codesign失败,退出代码为1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文