简体   繁体   中英

-canOpenURL: failed for URL: “fbauth2:/” - error: “(null)” for ios 9 (swift)

I have seen many problems like my question.And i have tried all solution .but i am getting this same problem.

My Problem:

when i click facebook login button ,its opening in safari and with in some seconds my page went off and return to facebook login button

In both simulator and device i am getting this problem

My warning:

 -canOpenURL: failed for URL: "fbauth2:/" - error: "(null)" 

Here is my.plist :

在此处输入图片说明

How to fix this problem !

I also updated my plist with fbapi,fbauth string alone.But that time also not able to resolve my problem

I think it all about the Facebook SDK . I also face this problem .So my suggestion is to use the latest Facebook SDK .If you are using only for login means - you can add coreKit , LoginKit and use fbauth2 alone for your problem.No need to add others items.Latest Facebook SDK . Or try to use the V4.6.0 SDK.Here is the link Older SDK

Hope this help

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM