Created
January 15, 2013 15:49
-
-
Save riosc/4539602 to your computer and use it in GitHub Desktop.
How to Empty Caches and Clean All Targets Xcode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cheers for this.. its located under Device > Erase all content and settings now.