我正在尝试在我的应用中添加TapJoy,添加TapJoy类后我收到此错误:
Ld /Users/tamannarahman/Library/Developer/Xcode/DerivedData/Tapjoy-fkglfvxrrgqjzvgmabanjaqvquov/Build/Intermediates/Tapjoy.build/Debug-iphoneos/Tapjoy.build/Objects-normal/armv6/Tapjoy normal armv6
cd /Tamanna/Tapjoy
setenv IPHONEOS_DEPLOYMENT_TARGET 3.0
setenv PATH "/Xcode 4/Platforms/iPhoneOS.platform/Developer/usr/bin:/Xcode 4/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
"/Xcode 4/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2" -arch armv6 -isysroot "/Xcode 4/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk" -L/Users/tamannarahman/Library/Developer/Xcode/DerivedData/Tapjoy-fkglfvxrrgqjzvgmabanjaqvquov/Build/Products/Debug-iphoneos -F/Users/tamannarahman/Library/Developer/Xcode/DerivedData/Tapjoy-fkglfvxrrgqjzvgmabanjaqvquov/Build/Products/Debug-iphoneos -filelist /Users/tamannarahman/Library/Developer/Xcode/DerivedData/Tapjoy-fkglfvxrrgqjzvgmabanjaqvquov/Build/Intermediates/Tapjoy.build/Debug-iphoneos/Tapjoy.build/Objects-normal/armv6/Tapjoy.LinkFileList -dead_strip libxml2 -miphoneos-version-min=3.0 -framework CoreTelephony -framework QuartzCore -framework OpenGLES -framework OpenAL -framework AudioToolbox -framework AVFoundation -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/tamannarahman/Library/Developer/Xcode/DerivedData/Tapjoy-fkglfvxrrgqjzvgmabanjaqvquov/Build/Intermediates/Tapjoy.build/Debug-iphoneos/Tapjoy.build/Objects-normal/armv6/Tapjoy
arm-apple-darwin10-llvm-gcc-4.2: libxml2: No such file or directory
Command /Xcode 4/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1
有人可以帮忙吗?
答案 0 :(得分:0)
该日志的相关部分是:
libxml2: No such file or directory
您需要将libxml2库添加到项目的“Link Binary with Libraries”构建阶段。我相信它名为libxml2.dylib,可能有多个版本号不同的版本。
如果已添加库,请将其删除并重新添加。它可能与错误的Xcode安装相关联,或者特定版本可能已在最新的Xcode中删除或重命名。