未findGoogle Api _GTMOAuth2ViewControllerTouch
我正在尝试与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
。 但是,在构build过程中:
(null): "_OBJC_CLASS_$_GTMOAuth2ViewControllerTouch", referenced from:
我怎样才能把上面的错误带走?
这是我的Header Search Path
:
最后,我设法根据这里的答案build立我的项目。
我从这里获取文件。
添加以下.h和.m文件到我的项目,并禁用其ARC -fno-objc-arc
:
GTMOAuth2Authentication GTMOAuth2SignIn GTMOAuth2ViewControllerTouch (also with XIB file)