简体   繁体   English

我的调试窗口中出现奇怪的警告

[英]strange warning in my debug window

I'm updating my application to iOS 7 and I've run into some problems. 我正在将应用程序更新到iOS 7,但遇到了一些问题。 I'm making a calculator and it isn't functioning the way I wanted it to be. 我正在制作一个计算器,但它并没有达到我想要的方式。 I got it working in my iOS 6 version but not in 7. I'm wondering if it has something to do with the message below. 我可以在iOS 6版本中使用它,但不能在7版本中使用。我想知道它是否与下面的消息有关。 There are multiple messages identical to this one for different classes. 对于不同的类别,有多个与此消息相同的消息。

Aug 12 22:22:29 My-Macbook.local myApp[3640] <Error>: CGContextSetStrokeColorWithColor<--**This class changes multiple times for a different message**: 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. 在即将进行的更新中,它将成为致命错误。

These messages were related to a bug in Xcode during the beta period. 这些消息与Beta期间Xcode中的错误有关。 Please make sure you upgrade to the latest production version of Xocde (5.0.1). 请确保您升级到Xocde的最新生产版本(5.0.1)。 I do not believe this is linked to your development issues. 我认为这与您的开发问题无关。

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

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