按照此处的说明:http: //hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/
我将 GData 添加到我的 iOS 5 项目中。当需要归档项目时,我收到以下错误:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_GDataServiceGoogleYouTube", referenced from:
objc-class-ref in DataManager.o
"_OBJC_CLASS_$_GDataEntryYouTubeVideo", referenced from:
objc-class-ref in DataManager.o
objc-class-ref in ListController.o
objc-class-ref in ShareController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我已经检查了 GData.xcodeproj -> GDataTouchStaticLib 的构建设置,这就是我将它们设置为如图所示:)
任何帮助表示赞赏,以帮助存档我的项目。