Skip to content

Instantly share code, notes, and snippets.

@Noreaster76
Last active August 29, 2015 14:19
Show Gist options
  • Save Noreaster76/d51b2d0780a2a957783f to your computer and use it in GitHub Desktop.
Save Noreaster76/d51b2d0780a2a957783f to your computer and use it in GitHub Desktop.
How to find the NSUserDefaults PList file in Xcode 6 / iOS 8
cd ~/Library/Developer/CoreSimulator/Devices
# get a unique list of all the PList files below this directory
find . -name '*.plist' -exec basename {} \; | sort -u
# get a list of all xyz PList files
find . -name '*.plist' -exec basename {} \; | grep -i xyz
# find all those com.xyz.plist files below the current directory
find . -name com.xyz.plist -ls
# then, just open the latest one into Xcode
open xyz.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment