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