【发布时间】:2011-11-19 18:25:36
【问题描述】:
当我构建我的项目时,我收到了这个错误:
CodeSign "build/Debug-iphoneos/MyApp.app" cd /Users/crackers/Desktop/MyApp/MyApp setenv 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 开发者:xxxxxxx xxxxxxxx (D492H27WDR)" "--resource-rules=/Users/crackers/Desktop/MyApp/MyApp/build/Debug-iphoneos/MyApp.app/ResourceRules. plist" --entitlements "/Users/crackers/Desktop/MyApp/MyApp/build/MyApp.build/Debug-iphoneos/MyApp.build/MyApp.xcent" ""/Users/crackers/Desktop/MyApp/MyApp/build/Debug -iphoneos/MyApp.app"
/Users/crackers/Desktop/MyApp/MyApp/build/Debug-iphoneos/MyApp.app:目标文件格式无效或不合适 命令 /usr/bin/codedesign 失败,退出代码为 1
我的 Mac 中同时安装了 Xcode3.x 和 Xcode4.x (iOS5 beta)。 几周前一切正常。所有证书工作正常。 所有证书状态良好。
我已将 Xcode(s) 文件移至新目录。之后我收到此错误。
【问题讨论】:
标签: iphone ios xcode build code-signing