Reputation: 4561
I'm building this iPhone app that has a set of resources that I, during development, update a lot. These resources are later used by my app.
The thing is, whenever I make a change in these resources and do a regular build, the resources aren't actually updated within my iphone application. In fact, they are never updated until I clean the build and rebuild the entire application after which all is fine.
Is there a way to make xcode always include my resources in each build?
Upvotes: 1
Views: 328
Reputation: 81878
If you copy the resources to your application wrapper by using a copy files build phase in your target, Xcode usually does the right thing. Xcode decides wether or not to copy a file based on it's modification date.
Check if the modification dates of your original files and copies in the app wrapper match and if, after updating the resources, the modification dates of the updated files are newer than those in the app wrapper.
Upvotes: 1