尝试在设备上测试xcode ios app时出现错误"目标文件格式无法识别"

时间:2012-10-23 12:45:20

标签: ios xcode device ipod

您好,当我尝试在iPhone Touch上测试我的应用程序时遇到问题!

以下是错误说明的内容:

**CodeSign /Users/scerip/Desktop/Projects/Debug-iphoneos/tweejump.app cd /Users/scerip/Desktop/haqu-tweejump-9a05d35 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 Developer: Jens Gleerup (4JA43UQ24Y)" --resource-rules=/Users/scerip/Desktop/Projects/Debug-iphoneos/tweejump.app/ResourceRules.plist --entitlements /Users/scerip/Desktop/Projects/tweejump.build/Debug-iphoneos/tweejump.build/tweejump.xcent /Users/scerip/Desktop/Projects/Debug-iphoneos/tweejump.app

/Users/scerip/Desktop/Projects/Debug-iphoneos/tweejump.app: object file format unrecognized, invalid, or unsuitable Command /usr/bin/codesign failed with exit code 1**

怎么办?

1 个答案:

答案 0 :(得分:0)

似乎您没有正确安装配置文件...