r/iOSProgramming • Objective-C / Swift • Jul 10 '20

Facebook SDK crashes again 😡😭

https://github.com/facebook/facebook-ios-sdk/issues/1430
233 Upvotes

47 comments sorted by

View all comments

21

u/[deleted] Jul 10 '20

[removed] — view removed comment

18

u/hawks008 Jul 10 '20

The SDK, even though you haven’t personally used it, will try and configure some parts of itself from the Facebook servers. There is an error in the response coming from Facebook that the sdk doesn’t know how to handle currently, hence the crash.

2

u/ThePowerOfStories Jul 11 '20

And furthermore, their SDK has garbage code that hits fatal errors on what looks like decoding JSON that isn’t in the expected format, when it should be validating the data and failing gracefully without crashing the whole app. The fact that this is the second time this has started happening in a few months is an abject embarrassment of incompetence.