【问题标题】:Google Api _GTMOAuth2ViewControllerTouch not foundGoogle Api _GTMOAuth2ViewControllerTouch 未找到
【发布时间】:2016-09-30 12:02:58
【问题描述】:

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

google-api-objectivec-client-read-only

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

gtm-http-fetcher
gtm-oauth2
gtm-session

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

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

如何消除上述错误?

这是我的Header Search Path

【问题讨论】:

    标签: ios xcode youtube-data-api


    【解决方案1】:

    我认为这个链接会对你有所帮助

    https://github.com/google/google-api-objectivec-client/issues/165

    【讨论】:

      【解决方案2】:

      最后我设法能够根据答案here 构建我的项目。

      我从here获取文件。

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

      GTMOAuth2Authentication
      GTMOAuth2SignIn
      GTMOAuth2ViewControllerTouch (also with XIB file)
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2013-05-11
        • 1970-01-01
        • 1970-01-01
        • 2021-12-17
        • 1970-01-01
        • 1970-01-01
        • 2016-08-05
        • 1970-01-01
        相关资源
        最近更新 更多