简体   繁体   English

将GData中的错误视为“体系结构i386的未定义符号”

[英]Facing Error in GData as 'Undefined symbols for architecture i386'

I am using GData to fetch email contacts from the user.while Running my code am getting these ERRORS. 我正在使用GData从用户那里获取电子邮件联系人。运行我的代码时遇到了这些错误。

OtherLinkerFlags : -lxml2 , -ObjC , -all_load .. OtherLinkerFlags: -lxml2-ObjC-all_load ..

-- Undefined symbols for architecture i386: -体系结构i386的未定义符号:

"_OBJC_CLASS_$_GDataQueryContact", referenced from:
objc-class-ref in VController.o VController.o中的objc-class-ref

"_OBJC_CLASS_$_GDataServiceGoogleContact", referenced from:
objc-class-ref in VController.o VController.o中的objc-class-ref

"_kGDataServiceDefaultUser", referenced from:
-[VController getEmailContact] in VController.o ld: symbol(s) not found for architecture i386 -VController.o ld中的[VController getEmailContact]:找不到体系结构i386的符号

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can anybody help me to find what wrong have i done. 谁能帮助我找出我做错了什么。 Thanks in Advance. 提前致谢。

确保您导入的是“ .h”而不是“ .m”,我认为您的问题只是输入错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM