2012-07-12 107 views
3

家伙我在做谷歌文档整合在我的iPhone应用程序,错误GDATA-的ObjectiveC客户端API +的oauth2 IOS框架

我从http://code.google.com/p/gdata-objectivec-client/

使用GDATA-的ObjectiveC的客户端和配置我的项目与此使用以下代码步骤http://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/

当我创建GTMOAuth2ViewControllerTouch.h的实例

GTMOAuth2ViewControllerTouch *viewController; 

viewController = [[[GTMOAuth2ViewControllerTouch alloc] initWithScope:scope 
                  clientID:kMyClientID 
                 clientSecret:kMyClientSecret 
                keychainItemName:kKeychainItemName 
                  delegate:self 
                finishedSelector:@selector(viewController:finishedWithAuth:error:)] autorelease]; 

[[self navigationController] pushViewController:viewController animated:YES]; 

我得到了这个错误GTMOAuth2ViewTouch.nib

请帮助我,在此先感谢。

回答

1

您需要将根项目GTMOAuth2ViewTouch.nib文件(主体工程出方的数据项目)

我有同样的问题,但它是Xcode的问题。

0

您需要从SVN网址下载GTMOAuth2ViewTouch.nib文件,格式为http://gtm-oauth2.googlecode.com/svn/trunk/Source/Touch/。从这里下载文件,然后将其添加到您的项目中。它会正常工作。

+0

文件已经存在于Gdata项目中并且包含在项目中,但它仍显示类似的错误。你能否提供此源码[email protected] – 2012-07-12 05:50:12

+0

检查你的代码和XIB文件是否正确。同时检查xib文件和类的链接。我不能提供你的代码。它正在我的项目中工作。 – 2012-07-12 05:57:10

+0

我可以上传源文件,可以纠正错误并发回吗? – 2012-07-12 06:09:15

相关问题