I have spent las 4 hours trying to figure out why Xcode 4 is not correctly synching my asset folder with simulator. The problem is the following:
1) I have a bunch of images, etc... in a folder called Assets. This folder has being added to Xcode with the creating folders option (It creates folders (blue) not groups (yellow)).
2) I add an image to Assets/image folder on disk and instantly it is updated in Xcode.
3) I compile and run the application and I can see how the application installed in the simulator gets the new file added.
4) I remove that file from the Assets/image folder. Xcode shows the change instantly.
5) I build and run the application but the file is not removed from the Assets/Image folder in the simulator.
Of course, I have the Assets directory added to a Copy Build phase. So, the only thing that comes to mind is that it just copies the files from the source folder (Xcode build folder) to the simulator app folder, but do not updates it, if something is there that is not used it will not be removed. What is IMO something really ugly and weird.
Same thing happens with files in Resource Group in Xcode. Am I missing something? I have not much experience with Xcode.
Thanks in advance.