Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 593
Nirav Limbasiya Avatar asked May 01 '26 23:05

Nirav Limbasiya


1 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.

like image 89
user1517223 Avatar answered May 04 '26 13:05

user1517223