用于picasa照片上传的GData客户端库

时间:2013-02-01 09:29:01

标签: objective-c gdata

在Picasa上添加GData客户端库以进行照片上传时出现错误 错误日志如下

Ld /Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator/PhotoYaar.app/PhotoYaar normal i386
cd "/Users/Macintosh/Desktop/Paras/Projects/Photo Yaary/01-02-2013/PhotoYar"
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Volumes/Xcode/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Volumes/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -L/Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator "-L/Users/Macintosh/Desktop/Paras/Projects/Photo Yaary/01-02-2013/PhotoYar/../../Data_Photo_App/GData-iOS-Static-Library-1.12-master" "-L/Users/Macintosh/Desktop/Paras/Projects/Photo Yaary/01-02-2013/PhotoYar/../../../../.." -F/Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator "-F/Users/Macintosh/Desktop/Paras/Projects/Photo Yaary/01-02-2013/PhotoYar" -filelist /Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Intermediates/PhotoYaar.build/Debug-iphonesimulator/PhotoYaar.build/Objects-normal/i386/PhotoYaar.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -all_load -lxml2 -ObjC -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 /Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator/libGPUImage.a -lGDataTouchStaticLib -framework Security -weak_library /Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator/GData/GData -lxml2 -framework MobileCoreServices -framework CoreLocation -framework AddressBook -framework Accounts -framework CFNetwork -framework OpenAL -framework SystemConfiguration -lsqlite3.0 -framework ImageIO -framework CoreVideo -framework AssetsLibrary -framework CoreMedia -framework CoreMotion -framework MessageUI -framework Twitter -framework OpenGLES -framework AVFoundation -framework CoreImage -lz.1.1.3 -framework QuartzCore -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator/PhotoYaar.app/PhotoYaar

ld: file not found: /Users/Macintosh/Library/Developer/Xcode/DerivedData/PhotoYaar-ftppukpwhpkripftssebcboomfcx/Build/Products/Debug-iphonesimulator/GData/GData
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我该如何解决这个问题? 我使用这个网址作为参考

 http://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/

1 个答案:

答案 0 :(得分:0)

警告是链接器未找到要链接的库。

您需要修复项目,以便链接到库框架。链接详细信息为here