FBSDK empty login

Since upgrading to the latest Xcode, I have encountered some problems with FBSDK trying to log in through FBSDKLoginManager . The Safari login window appears, but it remains white (empty view) with no navigation or content.

The console returns the following:

[ViewService] Failed to get the remote control with an error: Error: domain = _UIViewServiceInterfaceErrorDomain, code = 2

+5
source share
5 answers

I just cleared the history and data of the safari site in the settings, and now it works. I think this is due to the SFSafariViewController.

enter image description here

Hope this helps!

+7
source

Last night it worked in my application, today it no longer works. I found an article about Apple developers stating that this was an Apple bug, and a workaround would be to remove any background images from the button that you are about to click to log in to. It sounds illogical, I don’t know why. This does not work for me, but you can try.

0
source

Try dragging the new view controller into your storyboard and assign an account class to this storyboard view manager and run. That should work.

0
source

I ran into a similar problem and after that worked for me ...

Click Application Target β†’ Features β†’ Turn on Key Sharing.

here is a reference image showing this setting.

https://app.box.com/s/mg7hyp1i9qp89mmmqdi2kq2i41bp0cak

0
source

You do not need to clear the story. Only clearing the website data (in the "Advanced" section) will also help. This way you won’t lose your history on all devices.

0
source

Source: https://habr.com/ru/post/1266882/


All Articles