命令/ 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!