0

我尝试编译一个 xcode 项目并得到这个错误:

CreateUniversalBinary /Users/yosifz8gmailcom/Library/Developer/Xcode/DerivedData/birthday-exrjvwtlolewnqautwqzjjlvkpit/Build/Products/Debug-iphoneos/birthday.app/birthday normal "armv7 armv7"
cd /Users/yosifz8gmailcom/Desktop/birthday
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/yosifz8gmailcom/Library/Developer/Xcode/DerivedData/birthday-exrjvwtlolewnqautwqzjjlvkpit/Build/Intermediates/birthday.build/Debug-iphoneos/birthday.build/Objects-normal/armv7/birthday /Users/yosifz8gmailcom/Library/Developer/Xcode/DerivedData/birthday-exrjvwtlolewnqautwqzjjlvkpit/Build/Intermediates/birthday.build/Debug-iphoneos/birthday.build/Objects-normal/armv7/birthday -output /Users/yosifz8gmailcom/Library/Developer/Xcode/DerivedData/birthday-exrjvwtlolewnqautwqzjjlvkpit/Build/Products/Debug-iphoneos/birthday.app/birthday

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: /Users/yosifz8gmailcom/Library/Developer/Xcode/DerivedData/birthday-exrjvwtlolewnqautwqzjjlvkpit/Build/Intermediates/birthday.build/Debug-iphoneos/birthday.build/Objects-normal/armv7/birthday and /Users/yosifz8gmailcom/Library/Developer/Xcode/DerivedData/birthday-exrjvwtlolewnqautwqzjjlvkpit/Build/Intermediates/birthday.build/Debug-iphoneos/birthday.build/Objects-normal/armv7/birthday 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

知道为什么它给我这个错误吗?

4

1 回答 1

1

尝试将Project > Build Settings > Architectures中的 Valid Architecture 的值从默认值armv6 armv7更改为armv7. 希望这会有所帮助。

于 2013-05-21T12:44:19.717 回答