[BFTask isFaulted]: unrecognized selector sent to instance error

风格不统一 提交于 2019-12-08 08:51:11

问题


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.



来源:https://stackoverflow.com/questions/29735199/bftask-isfaulted-unrecognized-selector-sent-to-instance-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!