我正在尝试将我的iphone应用程序上传到app store,然后我按照开发者程序页面中的所有步骤进行操作,无论我改变什么,我总是得到相同的异常,即“Command / usr / bin /代码签名失败,退出代码为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
答案 0 :(得分:0)
您是否看过这个问题:codesign "The operation was cancelled by the user"?听起来像重新启动Mac并解锁钥匙链会有所帮助。
答案 1 :(得分:0)
您可以在Xcode 4上进行开发,但是您应该使用Xcode 3.2.5提交您的应用程序。