
<Error>: Error: this application,or a library it uses,has passed an invalID numeric value (NaN,or not-a-number) to CoreGraphics API. This is a serIoUs error and contributes 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.
我注意到这些消息在调用[NSApp nextEventMatchingMask:untilDate inMode:dequeue]之后出现在调试器中,但我认为原因在其他一些地方。但我有太多地方使用可可图形。我在10.9之前没有收到这样的消息。
如何检测NaN在哪里传递到CoreGraphics API?
解决方法 经过很多的挖掘,我发现你可以在Xcode中的“CGPostError”上设置一个符号断点,这将给你一个堆栈跟踪。 总结以上是内存溢出为你收集整理的可可 – 如何检测NaN在Mac OS X 10.9上传递到CoreGraphics API的位置全部内容,希望文章能够帮你解决可可 – 如何检测NaN在Mac OS X 10.9上传递到CoreGraphics API的位置所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)