简体   繁体   English

用于Xcode 4.5的iOS模拟器不会复制资源

[英]iOS Simulator for Xcode 4.5 not copying Resources over

I am using Xcode 4.5 and iOS Simulator Version 6*. 我正在使用Xcode 4.5和iOS模拟器版本6 *。 I added images to my Xcode project but when I simulate the iPhone, they are not showing up. 我在我的Xcode项目中添加了图像,但是当我模拟iPhone时,它们没有显示出来。 I see the following in syslog: 我在syslog中看到以下内容:

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 

No idea what is happening. 不知道发生了什么。 I have tried deleting the app, clean builds, etc. 我试过删除应用程序,清理构建等。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM