无法加载“my-icon.png”从笔尖引用的图像(iPhone) [英] Could not load "my-icon.png" image referenced from a nib (iPhone)

查看:127
本文介绍了无法加载“my-icon.png”从笔尖引用的图像(iPhone)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误消息:

2011-02-11 14:47:13.815 myProject[13177:207] Could not load the "icon-troubleshoot.png" image referenced from a nib in the bundle with identifier "com.myCompany.myProject"

此文件是之前使用过的旧文件,但现在已被删除。据我所知, icon-troubleshoot.png 在我的项目中的任何地方都没有使用。我尝试清理和重建,清空缓存,但它没有用。搜索字符串疑难解答作为文本引用并选择包含不返回任何内容。有谁知道我怎么能找到导致这个错误的原因?

This file is an old file that was being used before, but has now been deleted. As far as I know icon-troubleshoot.png is not used anywhere in my project. I tried cleaning and rebuilding, emptying caches but it didn't work. Searching for the string troubleshoot as a textual reference and "contains" selected returned nothing. Does anyone know how I can find what is causing this error?

推荐答案

据我所知x代码的搜索工具不要搜索xib文件内部,这就是为什么你的搜索没有返回任何内容。无论如何,在某个地方的xib文件中仍然存在一个引用。因为xib文件只是xml,如果您不想手动检查它们,请尝试使用TextMate等文本编辑器打开所有xib,并对内容中的.png文件名执行全局文本搜索。

as far as I know the search tool of x-code do not search inside the xib files that's why your search returns nothing. Anyway It's really probable there's still a reference in a xib file somewhere. Because xib files are just xml, if you don't want to check all them manually, try to open all your xib with a text editor like TextMate and perform a global text search over the content for the .png filename.

希望这会有所帮助。
Ciao!

Hope this helps. Ciao!

这篇关于无法加载“my-icon.png”从笔尖引用的图像(iPhone)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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