fbauth2 is missing from your Info.plist










1















I'm testing the Facebook SDK on iOS devices and I get this error when I press on the login button:




2018-11-11 22:27:57.543163+0100 swipethesquares[248:5302] Found
Facebook permission public_profile 2018-11-11 22:27:57.543420+0100
swipethesquares[248:5302] FacebookLogin:1 2018-11-11
22:27:57.543563+0100 swipethesquares[248:5302] Setting login status to
PROCESSING 2018-11-11 22:27:57.595283+0100 swipethesquares[248:5302]
* Terminating app due to uncaught exception 'InvalidOperationException', reason: 'fbauth2 is missing from your
Info.plist under LSApplicationQueriesSchemes and is required for iOS
9.0'
*
First throw call stack: (0x1f97e7ef8 0x1f89b5a40 0x10307c230 0x104bd0de4 0x104bd2e44 0x10307b0ac 0x1030a459c 0x1030a499c
0x1030a4944 0x1030a3698 0x102b32570 0x1f97ef660 0x1f96cb980
0x102b923b4 0x102d3f1a8 0x102d384f4 0x102d1f39c 0x102d22078
0x102d21ed8 0x102b81954 0x102b81aa0 0x102b8e290 0x102b8e7fc
0x102cc99ec 0x102ccf6e0 0x102ccfcb8 0x102b8d7f8 0x102b8b1ec
0x10527966c 0x1fdc9d574 0x1f9a4758c 0x1f974f3e4 0x1f9776c30
0x1f977637c 0x1f9771134 0x1f97705b8 0x1fb9e4584 0x2265e4bc8
0x102dcd9cc 0x1f9230b94) libc++abi.dylib: terminating with uncaught
exception of type NSException (lldb)




I have read that I have to add "fbauth2" in the Info.plist file but my Info.plist file already has these lines:



<key>LSApplicationQueriesSchemes</key> 
<array>
<string>fbapi</string>
<string>fb-messenger-api</string>
<string>fbauth2</string>
<string>fbshareextension</string>
<array>


any suggestion?



Thanks










share|improve this question




























    1















    I'm testing the Facebook SDK on iOS devices and I get this error when I press on the login button:




    2018-11-11 22:27:57.543163+0100 swipethesquares[248:5302] Found
    Facebook permission public_profile 2018-11-11 22:27:57.543420+0100
    swipethesquares[248:5302] FacebookLogin:1 2018-11-11
    22:27:57.543563+0100 swipethesquares[248:5302] Setting login status to
    PROCESSING 2018-11-11 22:27:57.595283+0100 swipethesquares[248:5302]
    * Terminating app due to uncaught exception 'InvalidOperationException', reason: 'fbauth2 is missing from your
    Info.plist under LSApplicationQueriesSchemes and is required for iOS
    9.0'
    *
    First throw call stack: (0x1f97e7ef8 0x1f89b5a40 0x10307c230 0x104bd0de4 0x104bd2e44 0x10307b0ac 0x1030a459c 0x1030a499c
    0x1030a4944 0x1030a3698 0x102b32570 0x1f97ef660 0x1f96cb980
    0x102b923b4 0x102d3f1a8 0x102d384f4 0x102d1f39c 0x102d22078
    0x102d21ed8 0x102b81954 0x102b81aa0 0x102b8e290 0x102b8e7fc
    0x102cc99ec 0x102ccf6e0 0x102ccfcb8 0x102b8d7f8 0x102b8b1ec
    0x10527966c 0x1fdc9d574 0x1f9a4758c 0x1f974f3e4 0x1f9776c30
    0x1f977637c 0x1f9771134 0x1f97705b8 0x1fb9e4584 0x2265e4bc8
    0x102dcd9cc 0x1f9230b94) libc++abi.dylib: terminating with uncaught
    exception of type NSException (lldb)




    I have read that I have to add "fbauth2" in the Info.plist file but my Info.plist file already has these lines:



    <key>LSApplicationQueriesSchemes</key> 
    <array>
    <string>fbapi</string>
    <string>fb-messenger-api</string>
    <string>fbauth2</string>
    <string>fbshareextension</string>
    <array>


    any suggestion?



    Thanks










    share|improve this question


























      1












      1








      1








      I'm testing the Facebook SDK on iOS devices and I get this error when I press on the login button:




      2018-11-11 22:27:57.543163+0100 swipethesquares[248:5302] Found
      Facebook permission public_profile 2018-11-11 22:27:57.543420+0100
      swipethesquares[248:5302] FacebookLogin:1 2018-11-11
      22:27:57.543563+0100 swipethesquares[248:5302] Setting login status to
      PROCESSING 2018-11-11 22:27:57.595283+0100 swipethesquares[248:5302]
      * Terminating app due to uncaught exception 'InvalidOperationException', reason: 'fbauth2 is missing from your
      Info.plist under LSApplicationQueriesSchemes and is required for iOS
      9.0'
      *
      First throw call stack: (0x1f97e7ef8 0x1f89b5a40 0x10307c230 0x104bd0de4 0x104bd2e44 0x10307b0ac 0x1030a459c 0x1030a499c
      0x1030a4944 0x1030a3698 0x102b32570 0x1f97ef660 0x1f96cb980
      0x102b923b4 0x102d3f1a8 0x102d384f4 0x102d1f39c 0x102d22078
      0x102d21ed8 0x102b81954 0x102b81aa0 0x102b8e290 0x102b8e7fc
      0x102cc99ec 0x102ccf6e0 0x102ccfcb8 0x102b8d7f8 0x102b8b1ec
      0x10527966c 0x1fdc9d574 0x1f9a4758c 0x1f974f3e4 0x1f9776c30
      0x1f977637c 0x1f9771134 0x1f97705b8 0x1fb9e4584 0x2265e4bc8
      0x102dcd9cc 0x1f9230b94) libc++abi.dylib: terminating with uncaught
      exception of type NSException (lldb)




      I have read that I have to add "fbauth2" in the Info.plist file but my Info.plist file already has these lines:



      <key>LSApplicationQueriesSchemes</key> 
      <array>
      <string>fbapi</string>
      <string>fb-messenger-api</string>
      <string>fbauth2</string>
      <string>fbshareextension</string>
      <array>


      any suggestion?



      Thanks










      share|improve this question
















      I'm testing the Facebook SDK on iOS devices and I get this error when I press on the login button:




      2018-11-11 22:27:57.543163+0100 swipethesquares[248:5302] Found
      Facebook permission public_profile 2018-11-11 22:27:57.543420+0100
      swipethesquares[248:5302] FacebookLogin:1 2018-11-11
      22:27:57.543563+0100 swipethesquares[248:5302] Setting login status to
      PROCESSING 2018-11-11 22:27:57.595283+0100 swipethesquares[248:5302]
      * Terminating app due to uncaught exception 'InvalidOperationException', reason: 'fbauth2 is missing from your
      Info.plist under LSApplicationQueriesSchemes and is required for iOS
      9.0'
      *
      First throw call stack: (0x1f97e7ef8 0x1f89b5a40 0x10307c230 0x104bd0de4 0x104bd2e44 0x10307b0ac 0x1030a459c 0x1030a499c
      0x1030a4944 0x1030a3698 0x102b32570 0x1f97ef660 0x1f96cb980
      0x102b923b4 0x102d3f1a8 0x102d384f4 0x102d1f39c 0x102d22078
      0x102d21ed8 0x102b81954 0x102b81aa0 0x102b8e290 0x102b8e7fc
      0x102cc99ec 0x102ccf6e0 0x102ccfcb8 0x102b8d7f8 0x102b8b1ec
      0x10527966c 0x1fdc9d574 0x1f9a4758c 0x1f974f3e4 0x1f9776c30
      0x1f977637c 0x1f9771134 0x1f97705b8 0x1fb9e4584 0x2265e4bc8
      0x102dcd9cc 0x1f9230b94) libc++abi.dylib: terminating with uncaught
      exception of type NSException (lldb)




      I have read that I have to add "fbauth2" in the Info.plist file but my Info.plist file already has these lines:



      <key>LSApplicationQueriesSchemes</key> 
      <array>
      <string>fbapi</string>
      <string>fb-messenger-api</string>
      <string>fbauth2</string>
      <string>fbshareextension</string>
      <array>


      any suggestion?



      Thanks







      ios






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 12 '18 at 19:52









      rmaddy

      240k27315379




      240k27315379










      asked Nov 12 '18 at 19:08









      PanoPano

      61




      61






















          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53268585%2ffbauth2-is-missing-from-your-info-plist%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53268585%2ffbauth2-is-missing-from-your-info-plist%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Use pre created SQLite database for Android project in kotlin

          Darth Vader #20

          Ondo