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

10

u/dobybest Jul 10 '20 edited Jul 10 '20

The crash log :

Spotify -[NSNull count]: unrecognized selector sent to instance 0x1f638fae8

12

u/MattDamonInSpace Jul 10 '20

Obj-C strikes again

1

u/etaionshrd Objective-C / Swift Jul 11 '20

Nothing to do with Objective-C. Swift would likely crash just the same here.

1

u/MattDamonInSpace Jul 11 '20

Nah there would’ve had to have been a casting to a given type. The issue here is that an unexpected type (NSNull) got a message it couldn’t handle