我尝试在我的 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'时。它可以被存档!这太奇怪了。任何人都会感激不尽!</p>