Search code examples
iphoneobjective-cxcode4ios5

Xcode -- delete images are still getting built when building app


I am trying to clean up my app before I submit it for apple approval, but I have an issue. I have delete some unwanted background images but the app seems to think they are still there. I have delete the app completely from the phone but when I build it is still there. The image has been completely remove from the Mac it doesn't exist anywhere not even in the simulator folder

/Users/******/Library/Application Support/iPhone Simulator/5.0/*********/appname.app

I can't seem to figure out whats going wrong.

I have had a look at a few questions like

Xcode- Deleted images appear in simulator

but this doesn't work, I have also tried

Attempting to delete an image from Xcode 4

when it builds it just adds it back in.

Can anyone help? or advice where I can find some help?


Solution

  • Delete it and then, from Xcode, perform that:

    1. Press Shift+Cmd+K
    2. Alt+Shift+Cmd+K

    It will empty your cache and clean your build folder.