Skip to content

Instantly share code, notes, and snippets.

@twisty
Created March 23, 2013 16:37
Show Gist options
  • Save twisty/5228343 to your computer and use it in GitHub Desktop.
Save twisty/5228343 to your computer and use it in GitHub Desktop.
Perform a deep reset of preferences for “Pages ’09”. This fixed an issue for me where Pages was unable to launch due to “an unexpected error”.
#/bin/sh
rm -rf ~/Library/Preferences/com.apple.iwork.pages.plist
rm -rf ~/Library/Caches/com.apple.iWork.Pages
rm -rf '~/Library/Autosave Information/com.apple.iWork.Pages.plist'
rm -rf '~/Library/Caches/com.apple.helpd/Generated/com.apple.iWork.Pages.help'
rm -rf '~/Library/Saved Application State/com.apple.iWork.Pages.savedState'
# If that doesn't work, also try…
#
# 1. FontBook: restore system fonts
# 2. sudo atsutil databases -remove
# 3. sudo update_dyld_shared_cache -force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment