尝试从Xcode 4删除图像 [英] Attempting to delete an image from Xcode 4

查看:68
本文介绍了尝试从Xcode 4删除图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很疯狂,试图做一些非常简单的事情.我的应用程序中有很多图像会在特定时间显示.在玩视网膜图像的过程中,我从应用程序中删除了图像文件.除了当我在模拟器中运行应用程序外,图像仍然存在.我在Finder中检查了项目文件夹,图像肯定消失了.我已经清理并重建了该应用程序,但它们仍在显示.如果我为iPhone构建应用程序,则不会显示它们.那么如何为模拟器清理它呢?

I'm going nuts trying to do something very simple. I have a number of images in my app that are displayed at certain times. In the course of playing around with retina images, I delete the image files from my app. Except that when I ran the app in the Simulator, the images are still there. I checked the project folder in Finder, and the images are definitely gone. I've cleaned and rebuilt the app, but they're still displaying. If I build the app for the iPhone, they're not displayed. So how do I clean it up for the Simulator?

感谢任何指针

推荐答案

尝试像从普通iPhone上一样从模拟器中删除它,然后从XCode运行.如果这不起作用,请退出模拟器,然后转到$ {HOME}/Library/Application Support/iPhone Simulator/$ {OS_VERSION}/Applications.每个应用程序都有一个以应用程序ID命名的文件夹.查找适合您的应用程序的文件夹并将其删除.然后从XCode重新运行.

Try just deleting it from the simulator as you would on a normal iPhone, then running from XCode. If that doesn't work, quit the simluator and go to ${HOME}/Library/Application Support/iPhone Simulator/${OS_VERSION}/Applications. There will be folders for each application named after the application's id. Find the folder for your application and delete it. Then run again from XCode.

这篇关于尝试从Xcode 4删除图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆