title: undefined is not an object (evaluating 'LoginManager.loginWithPermissions')
body: <p>Trying simple react-native app with facebook SDK, getting the following error: </p>
  
  <blockquote>
    <p>undefined is not an object (evaluating 'LoginManager.loginWithPermissions')</p>
  </blockquote>
  
  <p>Steps to reproduce:</p>
  
  <p>react-native init app</p>
  
  <p>react-native install react-native-fbsdk</p>
  
  <p>react-native link react-native-fbsdk</p>
  
  <p>Facebook guide <a href="https://developers.facebook.com/docs/ios/getting-started/" rel="nofollow noreferrer">https://developers.facebook.com/docs/ios/getting-started/</a></p>
  
  <p>react-native run-ios</p>
  
  <p><a href="https://i.stack.imgur.com/huEGT.png" rel="nofollow noreferrer">error</a></p>
  
  <p>Any suggestions?</p>
  
  <p>I think that react-native-fbsdk doesnt links with xcode project correctly...How to check it?
  I don't have any exceptions while linking:</p>
  
  <blockquote>
    <p>21:17 $ react-native link react-native-fbsdk
    Scanning 559 folders for symlinks in /Users/denis/Projects/app/node_modules (7ms)</p>
  </blockquote>
  
  <p>It looks like <strong>libRCTFBSDK.a</strong> is not included into the project, how to include it manually?</p>