本文介绍了未找到 Google Api _GTMOAuth2ViewControllerTouch的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试与 Youtube Data API 集成.我已将这些库放在我的项目文件夹中:

I am trying to integrate with Youtube Data API. I have put these libraries inside my project folder:

google-api-objectivec-client-read-only

并且,在文件夹内:google-api-objectivec-client-read-only

and, inside of folder: google-api-objectivec-client-read-only

gtm-http-fetcher
gtm-oauth2
gtm-session

google-api-objectivec-client-read-only 内.但是,在构建期间:

inside google-api-objectivec-client-read-only. However, during build:

(null): "_OBJC_CLASS_$_GTMOAuth2ViewControllerTouch", referenced from:

如何消除上述错误?

这是我的标题搜索路径:

推荐答案

最后,我设法能够根据答案构建我的项目 此处.

Finally I managed to be able build my project based on answer here.

我从此处获取文件.

将以下 .h 和 .m 文件添加到我的项目并禁用它们的 ARC -fno-objc-arc:

Added following .h and .m files to my project and disable their ARC -fno-objc-arc:

GTMOAuth2Authentication
GTMOAuth2SignIn
GTMOAuth2ViewControllerTouch (also with XIB file)

这篇关于未找到 Google Api _GTMOAuth2ViewControllerTouch的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 07:53