Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

-canOpenURL: failed for URL: "fbauth2:/" - error: "This app is not allowed to query for scheme fbauth2" (OSStatus error -10814.)

This error message when I try to login:_

-canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"

I have macOS High Sierra 10.13.6. My Xcode version is 9.4.1.

SDKs iOS 10.2, Simulator

I have tried mothod but doesn't help: https://developers.facebook.com/docs/ios/ios9

I also did try to play around LSApplicationQueriesSchemes but not success as well.

like image 828
Saad Tlh Avatar asked Aug 22 '18 00:08

Saad Tlh


1 Answers

The same issue I resolved it by adding this in Info.plist

<key>LSApplicationQueriesSchemes</key>
<array>
        <string>fbauth2</string>
</array>

You need to set it according to your SDK version.

More detail refer this Document.

like image 94
Nikunj Kumbhani Avatar answered Nov 15 '22 04:11

Nikunj Kumbhani