gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-28 22:27:53 26 4
gpt4 key购买 nike

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

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

不知道发生了什么。我试过删除应用程序、清理构建等。

最佳答案

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

关于Xcode 4.5 的 iOS 模拟器不复制资源,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18411284/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com