尝试从设备上的xcode测试应用程序时出错

时间:2012-10-22 16:00:42

标签: ios xcode

大家好我刚刚开始研究制作应用程序,但每次尝试在我的ipod touch上测试时都会出现错误

这是完整的错误

  

CreateUniversalBinary   /Users/scerip/Desktop/Projects/Debug-iphoneos/tweejump.app/tweejump   正常的“armv6 armv7 armv6”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”   / usr / bin / lipo -create   /Users/scerip/Desktop/Projects/tweejump.build/Debug-iphoneos/tweejump.build/Objects-normal/armv6/tweejump   /Users/scerip/Desktop/Projects/tweejump.build/Debug-iphoneos/tweejump.build/Objects-normal/armv7/tweejump   /Users/scerip/Desktop/Projects/tweejump.build/Debug-iphoneos/tweejump.build/Objects-normal/armv6/tweejump   -output /Users/scerip/Desktop/Projects/Debug-iphoneos/tweejump.app/tweejump   在/ usr / bin中/脂:   /Users/scerip/Desktop/Projects/tweejump.build/Debug-iphoneos/tweejump.build/Objects-normal/armv6/tweejump   和   /Users/scerip/Desktop/Projects/tweejump.build/Debug-iphoneos/tweejump.build/Objects-normal/armv6/tweejump   有相同的架构(armv6),不能在同一个胖子   输出文件命令/ usr / bin / lipo失败,退出代码为1

我尝试了几种不同的解决方案,我在stackoverflow和互联网上找到了这些解决方案,但它们似乎都没有用......有什么想法吗?

最好的问候Jens Gleerup

EDIIIIT:弹出新错误:/

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开发人员:Jens Gleerup(4JA43UQ24Y)” - 资源规则= / Users / scerip / Desktop / Projects / Debug-iphoneos / tweejump.app / ResourceRules.plist --entitlements /用户/ 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:目标文件格式无法识别,无效或不适合 命令/ usr / bin / codesign失败,退出代码为1

1 个答案:

答案 0 :(得分:2)

来自have the same architectures (armv6)"armv6 armv7 armv6"我猜您的项目在其armv6设置中有armv7armv6和另一个Architectures

打开项目的Build Settings,然后移除第二个armv6(如果它在那里)。