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

Check out 9to5Mac on YouTube for more Apple news:


You can follow iPhoneFirmware.com on Twitter, add us to your circle on Google+ or like our Facebook page to keep yourself updated on all the latest from Apple and the Web.