我尝试在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'时,它可以归档!它太奇怪了。 任何人都会很感激!