当我试图链接我当前的项目时,我看到了很多这个错误。我该怎么理解呢?
下面是日志中希望相关的部分。我已经编辑了部分路径:
Libtool "[path]/Build/Intermediates/extobjc.build/Release-iOS-Internal-iphoneos/libextobjc (iOS).build/Objects-normal/armv6/libextobjc_iOS.a" normal armv6
cd [path]/libextobjc
setenv IPHONEOS_DEPLOYMENT_TARGET 4.0
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool -static -arch_only armv6 -syslibroot /[Path]/Build/Products/Release-iOS-Internal-iphoneos -filelist "[path]/extobjc.build/Release-iOS-Internal-iphoneos/libextobjc (iOS).build/Objects-normal/armv6/extobjc_iOS.LinkFileList" -framework Foundation -o "[path]/extobjc.build/Release-iOS-Internal-iphoneos/libextobjc (iOS).build/Objects-normal/armv6/libextobjc_iOS.a"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool: file: [path]/Build/Intermediates/extobjc.build/Release-iOS-Internal-iphoneos/libextobjc (iOS).build/Objects-normal/armv6/EXTMultiObject.o is not an object file (not allowed in a library)
编辑:希望从日志中可以清楚地看到——但是当链接库时麻烦就来了。
我得到了一个类似的错误。xCode似乎忽略了所有。从SVN存储库提交/签出时的文件。我手动放置这些文件,并做了一个干净的构建。