在构建应用程序时仍然会构建删除图像

在构建应用程序时仍然会构建删除图像

本文介绍了Xcode - 在构建应用程序时仍然会构建删除图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我提交苹果批准之前,我正在尝试清理我的应用,但我有一个问题。我删除了一些不需要的背景图片,但应用程序似乎认为它们仍然存在。我已经完全从手机中删除了应用程序,但是当我构建它仍然存在时。图像已经完全从Mac中删除它甚至在模拟器文件夹中都不存在

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.

我看过几个问题,比如

但这不是'工作,我也尝试了

but this doesn't work, I have also tried

在构建时只需将其重新添加。

when it builds it just adds it back in.

有人可以帮忙吗?或建议我可以找到一些帮助吗?

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

推荐答案

删除它,然后从Xcode执行:

Delete it and then, from Xcode, perform that:


  1. 按Shift + Cmd + K

  2. Alt + Shift + Cmd + K

它将清空缓存并清理构建文件夹。

It will empty your cache and clean your build folder.

这篇关于Xcode - 在构建应用程序时仍然会构建删除图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 01:16