Skip to main content

iOS apps crashing on opening – here’s a fix

We noted earlier that we’re again seeing a number of iOS apps crashing as soon as they open, thanks to a bug in the Facebook SDK. Even if you don’t have the Facebook app installed, apps which use this SDK access it when they open, and then promptly crash.

Fortunately, there is an easy fix for now …

The secret is to block apps from accessing the Facebook domain. There are a number of ways of doing this, but The Verge spotted a really easy one.

Lockdown Apps, a firewall and privacy protection app on iOS, uses a VPN to block trackers and things like Facebook’s iOS SDK from loading in third-party apps. It will allow apps like Spotify, Pinterest, and Tinder to launch during a Facebook iOS SDK outage, and it’s completely free to use.

It takes just a couple of minutes to set up, most of which is simply tapping through the app walkthrough.

  • Install Lockdown Apps
  • Launch it, and tap through the tutorial
  • Decline any trials offered – these aren’t needed for our purposes
  • Tap the big Firewall button
  • Agree to install a VPN profile

As soon as this is done, you should be able to once again open apps like Spotify.

We explained earlier what causes the crashes.

For a little more insight on what is happening behind the scenes, the Facebook SDK communicates back and forth with a data server. The client app code expects the data returned by the server to be in a particular format. But when the server suddenly starts sending data in a different format, the framework code is not prepared to handle the invalid response. So, the app code tries to access values that don’t exist — which leads to a fatal error and the app crashes.

We’re expecting Facebook to fix the problem within a few hours. You can check for this by switching off the firewall and then trying to open Spotify. As soon as that succeeds, you can delete Lockdown App and that will automatically remove the VPN profile at the same time.

FTC: We use income earning auto affiliate links. More.

Logitech Mac keyboard
You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

Author

Avatar for Ben Lovejoy Ben Lovejoy

Ben Lovejoy is a British technology writer and EU Editor for 9to5Mac. He’s known for his op-eds and diary pieces, exploring his experience of Apple products over time, for a more rounded review. He also writes fiction, with two technothriller novels, a couple of SF shorts and a rom-com!


Ben Lovejoy's favorite gear

Manage push notifications

notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications
notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications