title: iOS: Facebook Login access token error: Falling back to loading access token from NSUserDefaults because of simulator bug
body: <p>After configuring it based on the instructions I keep on getting this error and I am unable to successfully use Facebook Login on my app. I am running it on XCode 8.1 and using an iOS 10.1 simulator.</p>
  
  <p>I followed the steps on the Facebook iOS SDK guide and put the Facebook login button in my view controller. I displayed the NSUserdefaults and one of the keys is "com.facebook.sdk:serverConfiguration" so I believe it is saving there.</p>
  
  <pre><code>- (void)viewDidLoad {
      [super viewDidLoad];
      if ([FBSDKAccessToken currentAccessToken]) {
          // User is logged in, do work such as go to next view controller.
          NSLog(@"test");
      }
      else {
          FBSDKLoginButton *loginButton = [[FBSDKLoginButton alloc] init];
          loginButton.center = self.view.center;
          [self.view addSubview:loginButton];
      }
      _loginButton.readPermissions =
      @[@"public_profile", @"email", @"user_friends"];
      NSLog(@"%@", [[NSUserDefaults standardUserDefaults] dictionaryRepresentation]);
  }
  </code></pre>