Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

when I click to login, and there was no response. #307

Closed
SURYAKANTSHARMA opened this issue Dec 21, 2018 · 7 comments
Closed

when I click to login, and there was no response. #307

SURYAKANTSHARMA opened this issue Dec 21, 2018 · 7 comments
Labels
bug Something is broken or being fixed

Comments

@SURYAKANTSHARMA
Copy link

SURYAKANTSHARMA commented Dec 21, 2018

Checklist

when I click to login, and there was no response.

-canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
Error Domain=com.facebook.sdk.core Code=3 "(null)" UserInfo={com.facebook.sdk:FBSDKErrorDeveloperMessageKey=Unknown error building URL.}

Environment

Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:

  • Xcode Version: Version 10.1 (10B61)
  • Swift Version: 4.1
  • Installation Platform & Verison: [Cocoapods|Carthage|Manual] version updated Version
    4.39.0 - FBSDKLoginKit
    FBSDKCoreKit - 4.39.0

Expected Results

not able to open facebook url

Actual Results

Error Domain=com.facebook.sdk.core Code=3 "(null)" UserInfo={com.facebook.sdk:FBSDKErrorDeveloperMessageKey=Unknown error building URL.

It is to note previously this was working but now this get stop working

@SURYAKANTSHARMA SURYAKANTSHARMA added the bug Something is broken or being fixed label Dec 21, 2018
@SURYAKANTSHARMA SURYAKANTSHARMA changed the title I got a mistake when I click to login, and there was no response. when I click to login, and there was no response. Dec 21, 2018
@atif-khan
Copy link

I am also facing the issue. I always get 'isCanceled = true' after login from the native Facebook app but works fine when I choose email/mobile no. option.

@robtimp
Copy link
Contributor

robtimp commented Dec 21, 2018

@SURYAKANTSHARMA @atif-khan I believe you're seeing the same issue as #298 and #301. I also posted this workaround there:

Please add pod 'FBSDKCoreKit', :git => 'https://github.com/facebook/facebook-objc-sdk.git', :branch => 'master' to your podfile. Run pod deintegrate, then pod install.

@atif-khan
Copy link

@robtimp thank you for the solution. It worked in most of the iPhone models but the issue still exists in Plus devices. I am testing in iPhone 6 Plus and I am getting the same issue.
Please help.

@YousefAlsbaihi
Copy link

had same problem, do this H E R E Worked for me after hours and hours of struggling.

@SURYAKANTSHARMA
Copy link
Author

SURYAKANTSHARMA commented Dec 24, 2018

@robtimp Thanks for suggestion. But it don't work for me even after pod deintegrate, then pod install .
pod 'FBSDKLoginKit', '~> 4.38.0'

@YousefAlsbaihi
Copy link

@robtimp Thanks for suggestion. But it don't work for me even after pod deintegrate, then pod install .
pod 'FBSDKLoginKit', '~> 4.38.0'

do this

Solved for me :

Delete Podfile.lock
Delete Pods folder
replace the facebook pods in your Podfile with this version of facebook

pod 'FBSDKCoreKit', '~> 4.38.0'
pod 'FBSDKLoginKit', '~> 4.38.0'

now please notice that if you have FacebookShareKit or anything else for facebook you have to change it to the same version you are using which is 4.38.0

run your terminal with pod install
open your project, go to Product > Clean Build Folder
run the app and try.

worked for me, if it does for you let everybody knows.

@SURYAKANTSHARMA
Copy link
Author

SURYAKANTSHARMA commented Dec 24, 2018

@YousefAlsbaihi Thanks for your reply but now it worked when
pod 'FBSDKCoreKit' version 4.38.0
pod 'FBSDKLoginKit' version 4.38.0'
Install both

earlier i had install pod 'FBSDKLoginKit', '~> 4.38.0' only.
At last thanks 👍 @YousefAlsbaihi @robtimp for help me for tackling the same

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something is broken or being fixed
Projects
None yet
Development

No branches or pull requests

4 participants