Codesign 返回 xcode iphone 项目的退出代码 11 - 找不到有关退出代码 11 的文档
我是 iPhone 开发新手。我正在尝试让 Xcode 在手机上运行应用程序。
该应用程序在模拟器中运行良好。最初我遇到了错误: 可执行文件使用无效的权利进行签名,
我按照此处的步骤操作: 可执行文件已使用无效权利进行签名
但现在我退出了代码 11。我检查了有关协同设计的文档,但找不到任何有关退出代码 11 的提及(http://gemma.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/codesign.1.html)
以下是我收到的日志。非常感谢任何帮助。我使用的是 iPhone 操作系统 3.1.3。
构建项目 HubPages 的 HubPages
使用配置 Debug CodeSign build/Debug-iphoneos/HubPages.app cd /Users/larryfreeman/src/hub/mobile/HubPages/build/iphone setenv IGNORE_CODESIGN_ALLOCATE_RADAR_7181968 /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate setenv PATH“/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin” /usr/bin/codesign -f -s "iPhone 开发人员:拉里·弗里曼 (LT6G4W62Z2)" --resource-rules=/Users/larryfreeman/src/hub/mobile/HubPages/build/iphone/build/Debug-iphoneos/HubPages .app/Entitlements.plist --entitlements /Users/larryfreeman/src/hub/mobile/HubPages/build/iphone/build/HubPages.build/Debug-iphoneos/HubPages.build/HubPages.xcent /Users/larryfreeman/src/ hub/mobile/HubPages/build/iphone/build/Debug-iphoneos/HubPages.app
命令 /usr/bin/codesign 失败,退出代码 11
谢谢!
-拉里
I'm new to iPhone development. I am trying to get Xcode to run an application on a phone.
The app works fine in the simulator. Initially I hit the error:
The executable was signed with invalid entitlements
I followed the steps here:
The executable was signed with invalid entitlements
But now I am getting an exit code of 11. I checked the documentation on codesign but I can't find any mention of an exit code 11 (http://gemma.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/codesign.1.html)
Below is the log I am getting. Any help is greatly appreciated. I am using iPhone OS 3.1.3.
Build HubPages of project HubPages with configuration Debug
CodeSign build/Debug-iphoneos/HubPages.app
cd /Users/larryfreeman/src/hub/mobile/HubPages/build/iphone
setenv IGNORE_CODESIGN_ALLOCATE_RADAR_7181968 /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/codesign -f -s "iPhone Developer: Larry Freeman (LT6G4W62Z2)" --resource-rules=/Users/larryfreeman/src/hub/mobile/HubPages/build/iphone/build/Debug-iphoneos/HubPages.app/Entitlements.plist --entitlements /Users/larryfreeman/src/hub/mobile/HubPages/build/iphone/build/HubPages.build/Debug-iphoneos/HubPages.build/HubPages.xcent /Users/larryfreeman/src/hub/mobile/HubPages/build/iphone/build/Debug-iphoneos/HubPages.app
Command /usr/bin/codesign failed with exit code 11
Thanks!
-Larry
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
退出代码 11 是 SIGSEGV - codesign 因分段错误而崩溃。
也许尝试删除 &重新添加您的证书和重新创建 entitlements.plist 文件?
Exit code 11 is SIGSEGV - codesign crashed with a segmentation fault.
Maybe try removing & re-adding your certificates & recreating the entitlements.plist file?