error in gdata-objectivec-client api + oauth2 ios framework

guys i am doing google docs integration in my iphone app,

i have used the gdata-objectivec-client from http://code.google.com/p/gdata-objectivec-client/

and configured my project with this steps http://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/

when i create instance of GTMOAuth2ViewControllerTouch.h using following code

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];

i got this error missing GTMOAuth2ViewTouch.nib

please help me , thanks in advance.

Answers


You need to move the GTMOAuth2ViewTouch.nib file in root project(main project out side the data project)

I was having the same problem, but it was Xcode's problem.


You need to download the GTMOAuth2ViewTouch.nib file from SVN url give as http://gtm-oauth2.googlecode.com/svn/trunk/Source/Touch/. Download the file from here and then add it in your project. It will work fine.


Need Your Help

Why sifr text's swf takes more width than actual text?

html xhtml sifr sifr3

I think if we can match swf size with original text width's then rendering will be fast.

Visual Studio 2015 debug visualizer changes

c# visual-studio visual-studio-2015 visual-studio-debugging debuggervisualizer

I am trying to use EnumerableDebugVisualizer and List Visualizer unfortunately none of them has a build for Visual Studio 2015.