Google iOS API Auth2 Login blank screen
google-api, ios, xcode, youtube-api
Solution
Old question but heres the answer for anyone stuck:
While you may have the GTMOAuth2ViewTouch.xib file in your projects directory you, need to add it to 'Compile Sources'.
Click on your project settings > 'Build Phases' tab and click the '+' icon under compile sources. Here add 'GTMOAuth2ViewTouch.xib'.
Build, run, happy days.
Problem
For the life of me, I can not figure this out. I followed the instructions on this blog http://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/ to help me set up sharing videos on youtube. However, before I am able to share videos, I need the user to be able to log into google and get permission. However only a blank screen pops up. I noticed in the errors that I get this error "missing GTMOAuth2ViewTouch.nib". ``` NSLog(@"PostVideoToYoutube"); GTMOAuth2ViewControllerTouch *viewController; viewController = [[[GTMOAuth2ViewControllerTouch alloc] initWithScope:kMyscope clientID:kMyClientID clientSecret:kMyClientSecret keychainItemName:kKeychainItemName delegate:self finishedSelector:@selector(viewController:finishedWithAuth:error:)] autorelease]; [ITVC presentModalViewController:viewController animated:YES]; ``` Can anyone please point me to the right direction on why the Google login page is not showing? Thank you!