[BFTask isFaulted]: unrecognized selector sent to

2019-06-01 15:55发布

问题:

Updated to Parse SDK 1.7.1 with Bolts 1.1.4 and using the new and latest Facebook SDK. Every time I login the user I get the following error:

[BFTask isFaulted]: unrecognized selector sent to instance error.

I'm able to login the user, the user's info is store in parse, but not sure how to resolve this exception.

Anyone else having this problem?

回答1:

Had this problem also. I copied the Parse Bolts framework to the project directory. Referencing didn't do it. Same for Parse FacebookutilsV4.



回答2:

I had solved this problem just a minute ago. You need update the latest FacebookSDK to avoid this error. You can just download the latest SDK from facebook website.

However if you just drag the parse and facebook framework together into the project, maybe a 'duplicate' error will be reported.

So I recommend you to use CocoaPods to manage your thirdparty framework.