I still have no clue on where it keeps the old files when I delete that folder, but this is for the better as it only copies new resources as intended.
The only reliable way I've found to force it to update everything is deleting the build products, the app and the device app , until it finally decides to forget about the old version, but doing this for each resource change is wasting me an insane amount of time (game content changes more than often).
So, in short: how do I force XCode to disable "versioning" and to just scrap all the resources and copy them all each time? EDIT: I have found that deleting the folder built in "build" folder always forces XCode to add new files...
I have an XCode project for an i OS application, and added to it 3 small mp3's in the structure that are copied to the destination bundle upon compilation.
I have then added a bigger mp3's (4MB) to the structure (same folder than the previous ones) and into the Build Phases: However upon compilation, this file is not present in the bundle.
I tried to clean and recompile, change destination, but the file is still absent: Anything I could have forgotten to check ?
I am adding resources (lots of and other) to my i Phone project dragging the folder to it and choosing "Create Folder references for any added Folder", to retain the folder structure.
If I stop the app and then Build and Run (⌘Y) again, the latest version is copied across.
My workaround is to save the Lua file, then in Xcode do a Build (⌘B) and then Build and Run (⌘Y), so build the app twice.
This always seems to copy the latest version to the device.
Update: As many have noted, one solution is to clean the targets and rebuild.
I'm having an issue where if I edit a Lua script, save, flick over to Xcode and Build and Run (⌘Y) the latest version of that Lua script is copied into the app bundle but not copied to the device.