0

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

google-api-objectivec-client-read-only

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

gtm-http-fetcher
gtm-oauth2
gtm-session

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

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

How can I take above error away?

Here is my Header Search Path:

enter image description here

Rendy
  • 5,572
  • 15
  • 52
  • 95

2 Answers2

0

I think this link will help you out

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

Pushkraj Lanjekar
  • 2,254
  • 1
  • 21
  • 34
0

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

I get the files from here.

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

GTMOAuth2Authentication
GTMOAuth2SignIn
GTMOAuth2ViewControllerTouch (also with XIB file)
Community
  • 1
  • 1
Rendy
  • 5,572
  • 15
  • 52
  • 95