I have app-specific data files in my app Resources directory, and they are included in the "Copy Bundle Resources" list. They were always copied in the app bundle when I ran my app in either the simulator or on a device. (The app was initially created in XCode 4 / iOS 5: now on XCode 6 /iOS 8.2.) Recently I removed some of these files and added newer versions with different names. I expected when I next ran my app in the simulator or on my device, I would get the new data files. However, when I run the app in the simulator or on a device, I still see the old files.
I have done a Clean/Rebuild in XCode, and I have deleted my app in the simulator and on my device - multiple times. I made sure the old files were no longer in any of my app folders. I assumed that XCode had these files in a cache somewhere, so I searched in Terminal and did find my app in /users/jwanner/Library/Developer/CoreSimulator/Devices//data/Containers/Bundle/Application/. The app in these folders (there were several instances of the first guid) sometimes had the old files. I copied these to trash, and now my app installs with none of my data files - not the old files and not the new files.
I have searched Google for hours and can't find a solution to this problem. Obviously I am missing something vital here. Should I list my data files in my -Info.plist somewhere? Is there a way to clear out old bundles and have XCode cache new ones?