Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7791015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:45:33+00:00 2026-06-01T21:45:33+00:00

I am currently implementing the GData framework to authenticate and post to picasa. So

  • 0

I am currently implementing the GData framework to authenticate and post to picasa. So far I have a working framework configuration. This allows me to push and authenticate with / attempt to authenticate with google. The only issue I seem to be having is when the app returns following authentication I receive a crash with the following error

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSInvocation invocationWithMethodSignature:]: method signature argument cannot be nil'

* First throw call stack:
(0x281c022 0x43c3cd6 0x2781a52 0x1d134b 0x27824ed 0x2782407 0x1ce0fa 0x1cdf0b 0x1cdebb 0x27824ed 0x2782407 0x22185e 0x221670 0x22270a 0x1926a49 0x1924e84 0x1925ea7 0x1924e3f 0x1924fc5 0x1869f5a 0xca3a39 0xd70596 0xc9a120 0xd70117 0xc99fbf 0x27f094f 0x2753b43 0x2753424 0x2752d84 0x2752c9b 0x29ae7d8 0x29ae88a 0xf23626 0x1c332d 0x2995)

My authentication code is as follows

            NSString *clientID = @"blogityblaablaa";
        NSString *clientSecret = @"somecrazycrap";

        auth = [GTMOAuth2ViewControllerTouch authForGoogleFromKeychainForName:kKeychainItemName
                                                                     clientID:clientID
                                                                 clientSecret:clientSecret];
        [[self photoservice] setAuthorizer:auth];

        NSString *scope = [GDataServiceGooglePhotos authorizationScope];

        SEL finishedSel = @selector(viewController:finishedWithAuth:error:);

        GTMOAuth2ViewControllerTouch *viewController;
        viewController = [GTMOAuth2ViewControllerTouch controllerWithScope:scope
                                                                  clientID:clientID
                                                              clientSecret:clientSecret
                                                          keychainItemName:kKeychainItemName
                                                                  delegate:self
                                                          finishedSelector:finishedSel];

        NSString *html = @"<html><body bgcolor=silver><div align=center>Loading sign-in page...</div></body></html>";
        viewController.initialHTMLString = html;

        [[del navigationController] pushViewController:viewController animated:NO];

Please help in anyway you can. Thank you very much! – Jim

Update: This reason this was happening was due to a misconfiguration with the selector “finishedSelector:finishedSel”. When the app would return the selector could not be found and therefore would cause this crash. The above auth code works well however so I hope this is useful to anyone who needs help with oAuth for GData authentication. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T21:45:34+00:00Added an answer on June 1, 2026 at 9:45 pm

    Verify that the declared selector finishedSet is correct, do you correctly declare viewController:finishedWithAuth:error: for the current object?

    SEL finishedSel = @selector(viewController:finishedWithAuth:error:);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently implementing a client application that POST's a file over HTTP and have
I'm currently implementing a navigation system for routing through Europe. So far, I have
I am currently implementing a basic raytracer in c++. Works pretty well so far,
I am currently implementing a Spec framework in F# and I want to hide
I am currently implementing a form in CodeIgniter that needs to have a drop
I am currently implementing cache. I have completed basic implementation, like below. What I
I'm currently implementing a profiling system into an application. I have a two macro
I am currently implementing an associacion of strings and enums based on this suggestion
I am currently implementing a blog-like site using Ruby on Rails. Each Post has
i am currently implementing a simple ray tracer in c++. I have a class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.