【发布时间】:2012-10-23 14:58:48
【问题描述】:
我知道这个问题很常见。
我尝试了各种方式,但我得到了这个错误:
CodeSign /Users/iacopocricelli/Library/Developer/Xcode/DerivedData/Prova2-bvdyofacwyoznwbxshegsvewaoan/Build/Products/Debug-iphoneos/Prova2.app
cd /Users/iacopocricelli/Desktop/Projects/Prova2
setenv CODESIGN_ALLOCATE
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/codesign --force --sign 48e8251951b5605143fe428c32f588209d2c1ce2 --resource-rules=/Users/iacopocricelli/Library/Developer/Xcode/DerivedData/Prova2-bvdyofacwyoznwbxshegsvewaoan/Build/Products/Debug-iphoneos/Prova2.app/ResourceRules.plist --entitlements /Users/iacopocricelli/Library/Developer/Xcode/DerivedData/Prova2-bvdyofacwyoznwbxshegsvewaoan/Build/Intermediates/Prova2.build/Debug-iphoneos/Prova2.build/Prova2.xcent /Users/iacopocricelli/Library/Developer/Xcode/DerivedData/Prova2-bvdyofacwyoznwbxshegsvewaoan/Build/Products/Debug-iphoneos/Prova2.app
/Users/iacopocricelli/Library/Developer/Xcode/DerivedData/Prova2-bvdyofacwyoznwbxshegsvewaoan/Build/Products/Debug-iphoneos/Prova2.app: The operation was cancelled by the user.Command /usr/bin/codesign failed with exit code 1
我已注册为开发人员。 我安装所有证书。 我检查了没有重复的证书。 我检查了捆绑标识符。 我检查了构建设置中的代码签名。 我将正确的移动设备安装为 Q253------.xxxxx.* 并且我的包标识符是 xxxxxx.myname 我尝试创建其他项目-
我该如何解决这个问题?
【问题讨论】:
-
这里的所有解决方案你都试过了吗:stackoverflow.com/questions/1090288/…
-
是的,我尝试了这个网站的所有解决方案。