Xcode — delete images are still getting built when building app

不想你离开。 提交于 2019-12-04 12:11:23

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.

Product -> Clean or ⌘-Shift-K.

Yunus Nedim Mehel

In the project tree click the name of the project name, select targets and build phases tab. There will be a section named "copy bundle resources", if you can see the name of your file, delete it from there. Then follow others' solution to clear the cache and make a clean build.

Edit: Also check Xcode- Deleted images appear in simulator, I guess your question is answered there.

Have you tried cleaning your project and then building it again ? (It might still used the already built .app file when you uploaded it again to your phone)

i think thats happens because of you are deleting the reference of images so that images are still in the folder of your project so do these 3 things. 1. go to your project folder where it is saved and search those images and if you found those images in that folder than delete them. 2. clean your project. from product->clean 3. delete app from simulator after that try again i think your problem is resolved.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!