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

  • SEARCH
  • Home
  • 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 8347273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:18:45+00:00 2026-06-09T07:18:45+00:00

Hope you can help me with this errors. I’ve downloaded the SDK from GIT

  • 0

Hope you can help me with this errors.

  1. I’ve downloaded the SDK from GIT repository.
  2. I’ve copied the /SRC/ in my Xcode 4.2 project.
  3. I have this code on AppDelegate.h

    #import <UIKit/UIKit.h>
    #import "FBConnect.h"
    
    @class ViewController;
    
    @interface AppDelegate : UIResponder <UIApplicationDelegate,FBSessionDelegate> {
        Facebook *facebook;
    }
    
    @property (strong, nonatomic) UIWindow *window;
    @property (strong, nonatomic) ViewController *viewController;
    @property (nonatomic, retain) Facebook *facebook;
    
    @end
    
  4. I have this code on AppDelegate.m

    #import "AppDelegate.h"
    #import "ViewController.h"
    
    @implementation AppDelegate
    
    @synthesize window = _window;
    @synthesize viewController = _viewController;
    @synthesize facebook;
    
    
    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    {
    
        self.window.rootViewController = self.viewController;
        [self.window makeKeyAndVisible];
    
        facebook = [[Facebook alloc] initWithAppId:@"HERE_APP_ID" andDelegate:self];
    
        NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
    
        if ([defaults objectForKey:@"FBAccessTokenKey"] && [defaults objectForKey:@"FBExpirationDateKey"]) {
            facebook.accessToken = [defaults objectForKey:@"FBAccessTokenKey"];
            facebook.expirationDate = [defaults objectForKey:@"FBExpirationDateKey"];
        }
    
        if (![facebook isSessionValid]) {
            [facebook authorize:nil];
        }
    
        return YES;
    }
    
    - (BOOL) application:(UIApplication *)application handleOpenURL:(NSURL *)url {
        return [facebook handleOpenURL:url];
    }
    
    
    -(void) fbDidLogin {
        NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
        [defaults setObject:[facebook accessToken] forKey:@"FBAccessTokenKey"];
        [defaults setObject:[facebook expirationDate] forKey:@"FBExpirationDateKey"];
        [defaults synchronize];
    
    }
    
  5. My .plist file configured with my fb”HERE_MY_APP_ID”

  6. The structure of my project is
  • MyProject
    • src
    • AppDelegate.h
    • AppDelegate.m
    • MainStoryboard.storyboard
    • ViewController.h
    • ViewController.m
    • Supporting Files
  • Frameworks
  • Products

The thing is that I don’t have any errors, but when I Run I got a lot of them. Almost 81, and a warning. Hope you can help me. Thanks.

enter image description here

  • 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-09T07:18:51+00:00Added an answer on June 9, 2026 at 7:18 am

    From what I can see your project is using ARC and the facebook SDK is not. It’s telling you the method -release isn’t available so you need to look into disabling ARC for the Facebook SDK.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I hope someone here can help me see where this error is coming from.
I hope someone can help me with this, as I'm unable to find the
Hope someone can help me out with this problem I am having. I just
Hope someone can help i cant seem to get my head around this, i
I hope you can help. This has been confounding me for hours. I have
I hope someone can help me here. I'm having trouble loading this variable. Right
I hope some of you guys can help me with this problem.... I have
I hope you can help me with this. I've been using jquery datepicker in
Hope somebody can help me out of this confussion. I made this method: public
This is driving me nuts so I hope someone can help an Objective-C noob

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.