当前,我正在开发一个应用程序,我在其中实现了您的管api来发送视频
进入您的管。为此,我使用了https://github.com/nparry/gdata-objectivec-clien/tree/tree/master/source
库及其对我的工作正常使用,当我单独使用它时。但是当我合并此api
时在我的工作应用中,它显示了以下错误:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_GDataYouTubeMediaGroup", referenced from:
objc-class-ref in YoutubeViewController.o
"_OBJC_CLASS_$_GDataUtilities", referenced from:
objc-class-ref in YoutubeViewController.o
"_OBJC_CLASS_$_GDataMediaTitle", referenced from:
objc-class-ref in YoutubeViewController.o
"_OBJC_CLASS_$_GDataServiceGoogleYouTube", referenced from:
objc-class-ref in YoutubeViewController.o
"_OBJC_CLASS_$_GDataMediaKeywords", referenced from:
objc-class-ref in YoutubeViewController.o
"_kGDataSchemeYouTubeCategory", referenced from:
-[YoutubeViewController uploadPressed:] in YoutubeViewController.o
"_OBJC_CLASS_$_GDataMediaDescription", referenced from:
objc-class-ref in YoutubeViewController.o
"_OBJC_CLASS_$_GDataEntryYouTubeUpload", referenced from:
objc-class-ref in YoutubeViewController.o
"_OBJC_CLASS_$_GDataMediaCategory", referenced from:
objc-class-ref in YoutubeViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我很难搜索以删除此错误,但找不到任何解决方案。这个?
这是将来自外部源的文件添加到项目中的错误,您需要做的就是:转到"目标"下的"构建阶段",您需要添加全部.m文件中的"编译源"中的文件。
听起来您没有将GDATA文件链接到目标。最简单的方法是将它们从项目中删除,然后再次添加它们,确保您选中"添加到目标"下的项目旁边的框。希望这有帮助