当我尝试链接我当前的项目时,我看到了很多这样的错误。我该怎么办?
这是日志中希望相关的部分。我已经编辑了一些路径的一部分:
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)
编辑:希望从日志中可以清楚地看到——但是在链接库时会出现问题。