I'm making an iphone app that displays a random picture chosen from pictures in Resources.
I have renamed some files for categorization, but running console shows that file with a new name and 开发者_运维问答file with old name both exist as separate files. Of course, I can't see the file with the old name in my Resource folder, nor in the original folder where the pictures are. Kinda freaky...
How could I remove the files with old names and make it a norm to not keep another file with the old name whenever I rename a file?
Please help me out.
Thanx.
Expand your Target and remove the images from Copy Bundle Resources.
I'm not sure I understand your question correctly, but I recommend cleaning your targets from the project menu and resetting the simulator.
You can also select all the new files in XCode, right click and select compile.
精彩评论