Where does the simulator save files (Xcode not updating files)?

ios, ios-simulator, xcode, xcode4.2

Solution

Goto Product>>Clean Build Folder. Or alternatively, Reset Simulator from iOS Simulator menu. That way your app will be rendered new in the simulator and used after a complete refresh and link-up with your project files.

Problem

I am having some trouble with Xcode not updating files that I have updated (e.g. database, jpgs etc), even though I have carefully deleted the old files and removed the references. This problem consists since Xcode > 4.2. Is there a place (maybe hidden files) where the simulator drops data except the derived data folder and ``` ~/Library/Application Support/iPhone Simulator/[OS version]/Applications/[appGUID]/ ``` Many thanks in advance PS: yes, I usually clean project, delete derived data, delete all simulator files in the abov directory, delete the project and restart the mac. And still there seems to be a reference to the old data (like jpg, database etc), even if I can't find it on the file system...

Original source