2

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

这是完整的错误

CreateUniversalBinary /Users/scerip/Desktop/Projects/Debug-iphoneos/tweejump.app/tweejump normal "armv6 armv7 armv6" cd /Users/scerip/Desktop/haqu-tweejump-9a05d35 setenv PATH "/Developer/Platforms/iPhoneOS.platform/开发者/usr/bin:/开发者/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /usr/bin/lipo -create /Users/scerip/Desktop/Projects/tweejump.build/调试-iphoneos/tweejump.build/Objects-normal/armv6/tweejump /Users/scerip/Desktop/Projects/tweejump.build/Debug-iphoneos/tweejump.build/Objects-normal/armv7/tweejump /Users/scerip/Desktop/项目/tweejump.build/Debug-iphoneos/tweejump.build/Objects-normal/armv6/tweejump -output /Users/scerip/Desktop/Projects/Debug-iphoneos/tweejump.app/tweejump /usr/bin/lipo: /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)" --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:目标文件格式无法识别、无效或不合适的命令 /usr/bin/codesign 失败,退出代码为 1

4

1 回答 1

2

我猜你的项目有,have the same architectures (armv6)和另一个在它的设置中。"armv6 armv7 armv6"armv6armv7armv6Architectures

打开项目的 Build Settings 并删除第二个 armv6(如果存在)。

于 2012-10-22T16:07:16.257 回答