嘿,我想将谷歌分析集成到我的 ios 静态库中,但是当我将libGoogleAnalytics.a
for google analytics sdk
ios 放入我自己的静态库中时,我收到了这个错误
Libtool build/Debug-iphonesimulator/libHY5Lib.a normal i386
cd /Hy5Canvas/Lib/HY5Lib
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool -static -arch_only i386 -syslibroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Hy5Canvas/Lib/HY5Lib/build/Debug-iphonesimulator -L/Hy5Canvas/Lib/HY5Lib/HY5Lib -L/Hy5Canvas/Lib/HY5Lib -filelist /Hy5Canvas/Lib/HY5Lib/build/HY5Lib.build/Debug-iphonesimulator/HY5Lib.build/Objects-normal/i386/HY5Lib.LinkFileList -ObjC -framework Foundation -lGoogleAnalytics -o /Hy5Canvas/Lib/HY5Lib/build/Debug-iphonesimulator/libHY5Lib.a
命令 /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool 失败,退出代码为 1
请帮助我解决这个问题谢谢,