Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
It’s been far too long since Facebook had screwed something up! They were left and right last year. Or maybe not? With all the pandemic and murder hornet news it’s difficult to know if it’s just being buried.
 
I was able to get the apps to launch by turning it off and turning it back on, still annoying. Facebook needs to change its ways...
 
it happen to me too. Spotify was crashing. Reinstalled, rebooted phone. When turn on airplane mode, was allowing sign in into spotity. After many atempts, reworked again.


Multiple iPhone and iPad users are seeing their apps crashing at launch as of this afternoon, and the issue appears to be caused by a faulty Facebook SDK that the apps are using.

facebook.jpg

There are multiple complaints about apps crashing continually on iOS devices on the MacRumors forums, and a wide range of apps appear to be impacted. Google's Waze app, for example, won't launch, and there have been complaints about apps that include Pinterest, Spotify, Adobe Spark, Quora, TikTok, and others.

Multiple developers on GitHub have attributed the problem to a Facebook software development kit used by the apps for sign-in purposes. Apps are failing to open even when users do not use the Facebook login options included.

It's not clear when the issue will be fixed, but with so many apps affected, it could be addressed shortly. Facebook will likely be able to fix the problem over the air with a server update.

Article Link: Facebook SDK Issue Causing Some iOS Apps to Crash
 
That's a pretty impressive failure that their client code is so awful that it crashes on whatever response the server was returning instead of safely handling it and displaying an error.

Yeah, the SDK is all Objective-C. I saw the error in the debugger. Basically it was parsing some JSON, and they were trying to treat a boolean as a dictionary. Was throwing [__NSCFBoolean objectForKeyedSubscript:]: unrecognized selector. So bit of a mix of the loose typing of obj-c and Facebook hacking on something.
 
Yeah, the SDK is all Objective-C. I saw the error in the debugger. Basically it was parsing some JSON, and they were trying to treat a boolean as a dictionary. Was throwing [__NSCFBoolean objectForKeyedSubscript:]: unrecognized selector. So bit of a mix of the loose typing of obj-c and Facebook hacking on something.

It is a mistake we all made at some point. This is what I like about Swift, sometimes it is pedantic but it prevents mistakes like that.
When I look back at my Objective-C code base I see a lot of type checks I added to prevent bugs like that, but every now and then I find some code where I forgot to put it, and maybe the JSON I received has been correct for years so it never crashed.

Thank goodness I removed Facebook SDK from my apps a while ago, so I wasn't affected this time.
 
  • Like
Reactions: Santiago
YouTube has crashed every time I open it then go to another app then back to YouTube. It crashes and reloads everything. Surely YouTube isn’t affected by Facebook? Also, I don’t allow any Facebook apps on any of my devices. I just hate the company. I don’t understand people’s desires to have Facebook spy on them 24/7. I will say it sure is weird to mention something then it pops up in every Google ad also. Google sucks really bad also. But some trade offs are just necessary. But that f’ing Facebook really bugs me beyond belief. I don’t understand why more developers don’t stop using both Facebook and Google for iOS app sign ins.

Both Google and Facebook are the cancers of todays world.

This will lead more devs to reconsider including the Facebook SDK.

I wish one day they screw up so badly that every *phone on this planet will crash continuously for
a day or so, only then it would make a difference.

* Include computers too.
 
I was worried my 6+ had finally given up. Anyway, bad data from servers should not cause an app to crash. Shame on you, Facebook developers.
And this shows how frail is the technology our society lives on.
 
  • Like
Reactions: Santiago
Hopefully we can now rip FB out of most apps

Their sign in with... is pretty bad anyway, FB has removed more and more features from it, and kept breaking it - I think the bottom line is, they simply are not very much interested in being a login provider anymore.

By the time they created app specific links it was over. They said it's for privacy but it was more for FB profit and control and protecting their user graph. Which is fine, not hating on FB, just saying their business interests simply do not align with a login-with feature like that.

Login with Apple ID and login with Google is working fine.
[automerge]1588845681[/automerge]
YouTube has crashed every time I open it then go to another app then back to YouTube. It crashes and reloads everything. Surely YouTube isn’t affected by Facebook? Also, I don’t allow any Facebook apps on any of my devices. I just hate the company. I don’t understand people’s desires to have Facebook spy on them 24/7. I will say it sure is weird to mention something then it pops up in every Google ad also. Google sucks really bad also. But some trade offs are just necessary. But that f’ing Facebook really bugs me beyond belief. I don’t understand why more developers don’t stop using both Facebook and Google for iOS app sign ins.

One tap sign in is super convenient, that's why.

I hate the FB spying too, but even as a developer I wasn't 100% aware that there's some facebook code running before my app is running - that's just horrible in every conceivable way. I mean - yes - now that it's obvious, it seems obvious, I just never thought about it before, what you do is you just follow the instructions, you add those libraries, and invoke them as per the developer documentation.

But at least myself, I wasn't losing any sleep over "oh when my app starts, before anything even happens, it calls into facebook's library and God knows what they're doing in there". Which is the case. FB login is basically malware. Never again.
 
Happening to me today. So If I unlink from Facebook crashes will go away?

Nope. Even those of us without Facebook accounts can’t open apps today. Time to 1-star every affected app, because yes, the developers do deserve it.
 
  • Like
Reactions: Santiago
Easy fix block graph.facebook.com and graph.instagram.com they will not impact you in anyway and disable the SDK. Almost every app has this in it.
[automerge]1588859361[/automerge]
Can we get a list of all the apps using Facebooks SDK?
Almost all of them do according to my PiHole graph.facebook.com is the most blocked domain by over 20K.
 
I prefer toxin. Facebook tastes great, looks great and smells great, like so many toxins do. But, like a toxin, you consume it, and it could be fatal. Facebook is a disgusting company.

They're a pox on the world.
It does not taste great, it does not look great and it does not smell great since it is some rotten rubbish...
It spreads like cancer cells.
 
My High Sierra mac started chain-crashing the iCal app and I have to think it’s related to an old facebook calendar thats stuck in iCloud and can’t be removed via any GUI that I’ve found. I restored the machine from backup last night and saw this story in the morning.
 
This is what I like about Swift, sometimes it is pedantic but it prevents mistakes like that.

Generally, by crashing. It's just a potential crash the developer explicitly ignored. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.