代码符号异常

发布于 2024-10-07 16:03:59 字数 956 浏览 0 评论 0原文

我正在尝试将我的 iPhone 应用程序上传到应用程序商店,并且我遵循了开发人员程序页面中的所有步骤,无论我进行什么更改,我总是得到相同的异常,即“命令 /usr/bin/codesign 失败退出代码 1”,我正在 xcode 4.1 上开发,构建日志如下:

CodeSign build/Distribution-iphoneos/xxxx.app
cd /Users/yyyy/Documents/xxxx
 PATH  "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv _CODESIGN_ALLOCATE_       /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
/usr/bin/codesign -f -s "iPhone Distribution: xxxx LLC" --resource-  rules=/Users/yyyy/Documents/xxxx/build/Distribution-iphoneos/xxxx.app/ResourceRules.plist --    entitlements /Users/booksprice/Documents/xxxx/build/xxxx.build/Distribution-iphoneos/xxxx.build/xxxx.xcent /Users/yyyy/Documents/xxxx/build/Distribution-iphoneos/xxxx.app

/Users/yyyy/Documents/xxxx/build/Distribution-iphoneos/xxxx.app: The operation was  cancelled by the user.
Command /usr/bin/codesign failed with exit code 1

I'm trying to upload my iphone application to app store and I followed all the steps that developer program page has in it, and no matter what I change I always get the same exception which is "Command /usr/bin/codesign failed with exit code 1", I'm developing on xcode 4.1, the build log is the next bellow:

CodeSign build/Distribution-iphoneos/xxxx.app
cd /Users/yyyy/Documents/xxxx
 PATH  "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv _CODESIGN_ALLOCATE_       /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
/usr/bin/codesign -f -s "iPhone Distribution: xxxx LLC" --resource-  rules=/Users/yyyy/Documents/xxxx/build/Distribution-iphoneos/xxxx.app/ResourceRules.plist --    entitlements /Users/booksprice/Documents/xxxx/build/xxxx.build/Distribution-iphoneos/xxxx.build/xxxx.xcent /Users/yyyy/Documents/xxxx/build/Distribution-iphoneos/xxxx.app

/Users/yyyy/Documents/xxxx/build/Distribution-iphoneos/xxxx.app: The operation was  cancelled by the user.
Command /usr/bin/codesign failed with exit code 1

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

浅暮の光 2024-10-14 16:03:59

您是否看过这个问题:codesign“操作已被取消用户”?听起来重启 Mac 并解锁钥匙串会有所帮助。

Have you looked at this SO question: codesign "The operation was cancelled by the user" ? Sounds like restarting your Mac and unlocking your keychain helps.

你是年少的欢喜 2024-10-14 16:03:59

您可以在 Xcode 4 上进行开发,但应该使用 Xcode 3.2.5 提交应用程序。

You can develop on Xcode 4, but you should be submitting your application with Xcode 3.2.5.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文