2013-08-23 118 views
0
的资源

我正在使用Xcode 4.5和iOS模拟器版本6 *。我添加了图像到我的Xcode项目,但是当我模拟iPhone时,它们没有显示出来。我在系统日志中看到以下内容:Xcode 4.5的iOS模拟器不复制

SpringBoard[33587] <Error>: CGContextDrawImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update. 

Aug 23 15:04:18 new-host-22.home SpringBoard[28968] <Warning>: No file exists for default image of name starting_image_i5_retina 
Aug 23 15:04:20 new-host-22.home[28982] <Notice>: BUG in libdispatch: 12E55 - 866 - 0x2 
Aug 23 15:04:20 new-host-22.home[28982] <Notice>: BUG in libdispatch client: kevent[EVFILT_VNODE] add: "Bad file 

不知道发生了什么事。我尝试删除应用程序,清理版本等。

+1

这个问题似乎是脱离主题,因为它是关于Xcode 5,它是在NDA(请使用苹果论坛) – Wain

+0

对不起 - 它发生在xCode 4也 - 只是确认 – josephmisiti

+0

何时何地你绘制到上下文?你有没有检查你的图像被复制到捆绑? – Wain

回答

2

转到您的目标下的构建阶段,并转到“复制Bundle资源”并单击加号按钮并添加文件,清理您的构建,删除应用程序,然后在xcode中运行它,并且该文件应该在那里。