GData iPhone存档错误

时间:2012-08-22 23:33:10

标签: ios xcode gdata

按照此处的说明操作:http://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/
我在我的iOS 5项目中添加了GData。当归档项目时,我收到以下错误:

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,这就是我设置它们的方式,如下图所示:) enter image description here

感谢任何帮助,以帮助我的项目存档。

1 个答案:

答案 0 :(得分:0)

您尚未正确链接库。在添加库路径时,请务必仔细按照说明进行操作。有关详细信息,请参阅Undefined symbols for architecture armv7