Could not load image referenced from a nib
2014-04-29 11:22
176 查看
在使用Xcode开发中,时常会遇到Could not load “x.png” image referenced from a nib,这个问题是由于在interface builder中使用了不存在的图片导致的,开发过程中这个问题有时不容易找到是哪个文件的哪个控件使用了不存在的图片,有一个命令行可以帮助我们找到对应的ib文件。
grep -R '图片.png' 项目根目录/*
在终端下执行以上的命令可以列出使用该图片的文件以及设置的属性,方便我们找到ib文件。
grep -R '图片.png' 项目根目录/*
在终端下执行以上的命令可以列出使用该图片的文件以及设置的属性,方便我们找到ib文件。
相关文章推荐
- ios xcode Could not load the "MyImage.png" image referenced from a nib in the bundle with identifier
- Could not load the "XX.jpg" image referenced from a nib in the bundle with identifier "cn.Norm"
- Could not load the "start.png" image referenced from a nib in the bundle with identifier "com.yourco
- 错误代码: Could not load the "XXX.png" image referenced from a nib in the bundle with identifier "XXX"
- image asset:Could not load the "scene" image referenced from a nib in the bundle with identifier
- Could not load the "light_rain.png" image referenced from a nib in the bundle with identifier
- 打印出现:Could not load the "" image referenced from a nib in the bundle with identifier
- Could not load the "" image referenced from a nib in the bundle with identifier XXXXX
- iOS Could not load the "111.image" image referenced from a nib in th
- Could not load the "start.png" image referenced from a nib in the bundle with identifier
- Could not load the "null" image referenced from a nib in the bundle with identifier ""
- Could not load the "logo.png" image referenced from a nib in the bundle with identifier
- Could not load the "defaultimg" image referenced from a nib in the bundle with identifier "com.abc"
- Could not load the "*.png" image referenced from a nib in the bundle with identifier
- Could not load the "" image referenced from a nib in the bundle with identifier "com.****.***
- ios xcode Could not load the "MyImage.png" image referenced from a nib in the bundle with identifier "com.mytest.MyProject"
- Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
- Android: Could not find method XXX, referenced from method YYY
- 解决IOS could not load NIB in bundler
- IIS7 web app error : "Could not load type 'System.Security.Claims.ClaimsIdentity' from assembly