无法在iphone上运行,错误具有相同的架构(armv7)并且不能在同一个胖输出文件中

时间:2013-02-21 03:47:58

标签: ios compilation archive

我尝试在iPhone上运行应用程序,最后失败了 我目前唯一拥有的设备上安装了iOS6。架构设置为“armv7”。
在尝试运行应用程序时会显示以下内容:

CreateUniversalBinary
/Users/tongfei20/Library/Developer/Xcode/DerivedData/TestiPadCal-eywphcxyudcjxhcvayjcldqtcetq/Build/Products/Debug-iphoneos/TestiPadCal.app/TestiPadCal
normal "armv6 armv7 armv7"
    cd /Users/tongfei20/Desktop/TestiPadCal
    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"
    lipo -create /Users/tongfei20/Library/Developer/Xcode/DerivedData/TestiPadCal-eywphcxyudcjxhcvayjcldqtcetq/Build/Intermediates/TestiPadCal.build/Debug-iphoneos/TestiPadCal.build/Objects-normal/armv7/TestiPadCal
/Users/tongfei20/Library/Developer/Xcode/DerivedData/TestiPadCal-eywphcxyudcjxhcvayjcldqtcetq/Build/Intermediates/TestiPadCal.build/Debug-iphoneos/TestiPadCal.build/Objects-normal/armv7/TestiPadCal
-output /Users/tongfei20/Library/Developer/Xcode/DerivedData/TestiPadCal-eywphcxyudcjxhcvayjcldqtcetq/Build/Products/Debug-iphoneos/TestiPadCal.app/TestiPadCal

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo:
/Users/tongfei20/Library/Developer/Xcode/DerivedData/TestiPadCal-eywphcxyudcjxhcvayjcldqtcetq/Build/Intermediates/TestiPadCal.build/Debug-iphoneos/TestiPadCal.build/Objects-normal/armv7/TestiPadCal
and
/Users/tongfei20/Library/Developer/Xcode/DerivedData/TestiPadCal-eywphcxyudcjxhcvayjcldqtcetq/Build/Intermediates/TestiPadCal.build/Debug-iphoneos/TestiPadCal.build/Objects-normal/armv7/TestiPadCal
have the same architectures (armv7) and can't be in the same fat
output fileCommand
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo
failed with exit code 1

但是当我没有添加'armv6 armv7'时,它可以归档!它太奇怪了。 任何人都会很感激!

0 个答案:

没有答案