Skip to content

Instantly share code, notes, and snippets.

@riosc
Created January 15, 2013 15:49
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save riosc/4539602 to your computer and use it in GitHub Desktop.
Save riosc/4539602 to your computer and use it in GitHub Desktop.
How to Empty Caches and Clean All Targets Xcode
http://stackoverflow.com/questions/5714372/how-to-empty-caches-and-clean-all-targets-xcode-4
Command-Option-Shift-K to clean out the build folder. Even better, quit Xcode and clean out ~/Library/Developer/Xcode/DerivedData manually. Remove all its contents because there's a bug where Xcode will run an old version of your project that's in there somewhere. (Xcode 4.2 will show you the Derived Data folder: choose Window > Organizer and switch to the Projects tab. Click the right-arrow to the right of the Derived Data folder name.)
In the simulator, choose iOS Simulator > Reset Content and Settings.
Finally, for completeness, you can delete the contents of /var/folders; some caching happens there too.
@pixelstorm
Copy link

cheers for this.. its located under Device > Erase all content and settings now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment