Corrupt iCloud Data Causes iOS SpringBoard Home Screen Crash (with Fix!)

| TMO Quick Tip

In addition to 3rd party app data, iCloud also stores data for a few Apple apps and services, and if this data gets corrupted you can wind up with a very unstable iPhone (or iPod or iPad). Unfortunately Apple doesn't provide a way to let you tell iCloud to reset this data. Short of permanently disabling "Documents & Data" syncing with iCloud, the only way to fix this is to delete the offending data from the [home]/Library/Mobile Documents folder on your Mac and reboot your iOS device.

The Full Story

A few weeks ago I began experiencing a recurring Crash on our iPod touch here. The issue was that the "SpringBoard" would crash. For those of you (i.e. most of us) who don't know what SpringBoard is, that's the app that always runs on your iOS devices and manages the "home" screen. All those icons, etc., are you interacting with a program called SpringBoard.

Think of SpringBoard similar to the Finder on your Mac — it's always running. When SpringBoard on iOS crashes you are briefly brought to a black screen with the Apple logo and then right back to your "home" screen. Jailbreakers are likely to be quite familiar with SpringBoard because there are many hacks to change its functionality, but on this one, to be clear, there was no jailbreaking involved. This was a by-the-book iPod touch, no mods.

This crash was happening regularly, sometimes as often as every 10 minutes. The Apple Store first recommended we wipe the device of all data and NOT restore from a backup. Problem still happened. Then the Apple Store replaced the device, and again we did not restore from a backup, and again, the crashes quickly resumed.

No restore from backup. Brand new hardware. Same crash. Diagnosing this just got interesting.

Thankfully, we had allowed iOS to "Automatically Send" Diagnostics and Usage data to Apple. By allowing this, we also get to see some of the history of this data, including crash logs. Looking at the series of SpringBoard crash logs we saw the crashed thread referencing "TextInput" quite a bit. Digging, then, into the iCloud synced data folder on the Mac (located in [home] / Library / Mobile Documents) we found a com~apple~TextInput folder. Eureka!

Matching the iOS crash log with the related file on the Mac we were able to fix this

We disabled Documents & Data syncing from the iPod temporarily, deleted the com~apple~TextInput folder from the Mac, gave it a minute to sync up to the cloud, and then rebooted the iPod. After re-enabling Documents & Data syncing, all was well.

The Lesson

As we've seen with Mail preferences on the Mac, Documents & Data syncing can wreak havoc on iOS if the synced preferences and data wind up getting corrupted for some reason. Thankfully deleting these from the iCloud (i.e. Mobile Documents) folder on your Mac will help to resolve this problem.

Bugs-in-the-cloud image made by Bryan Chaffin with help from Shutterstock.

Comments

mhikl

“Diagnosing this just got interesting.” Yup, sometimes life’s little slivers are fun challenge to worry out.
This is definitely a saver for little future horrors.
Slowly but surely iCloud is getting better. Until such deed be done, only Apple software docs and media will be saved to the cloud. Let’s hope Apple is finding the talent to put everything together in Apple style.

Teri OBrien

Dave,
What can I say? You ROCK!

Wally

Well done, Sherlock.

wab95

Dave:

Truly some impressive diagnostic work. Many thanks for this.

I agree with mhikl; I’ve just stored this for future reference.

Mark C

Dave - great diagnostic work.  Having this exact problem on iPhone 4, iPhone 5, original iPad and iPad Mini.  Multiple trips to Genius.  Replaced iPhone 5 (Apple Care) and purchased new iPhone 5 to replace the iPhone 4.  Problem continued.  Had Documents and Data synching turned on, but nothing had been synched to my knowledge.  Attempted to follow your directions - cannot find an iCloud synched data folder on either my iMac or my MacBookPro.  A search for iCloud or Mobile Documents on either computer reveals nothing.

Any suggestions?  Thanks.

Dave Hamilton

Mark — sorry to hear you’re having the same problems, but the good news is that it’s the same. Assuming your Mac is also syncing iCloud Documents & Data (confirmed by looking in the iCloud system preference pane) that folder will be there. Searches, however, won’t find it. You first need to go to your <home>/Library folder, which is hidden by default. To reveal it, click on the Finder’s “Go” menu and then hold down the Option key on the keyboard. That will reveal the Library choice. Select it and, boom, you’re there. Then in the that window look for “Mobile Documents” — is it there?

Mark C

Dave - Fantastic!  This worked, but everyone should be aware of some additional effort with which you helped me.

Was unable to find “Mobile Documents” when looking in my library.  Turns out, you don’t see it if you are using Lion.  Attempted to see “Mobile Documents” utilizing Terminal and Ubiquity, but had no luck there.  However, the $1.99 solution was to purchase the app “Memo-Sticky Notes”).  When “Memo” was on, then went to my Library and found “Mobile Documents,” saw the TextInput folder, deleted it and no more iPhone, iPad crashes!

Thanks so much for your help!

Log-in to comment