我一直收到这个错误:
Jan 31 13:56:51 Michaels-MacBook-Air.local CocoaDrawing[2129] <Error>: The function 'CGContextErase' is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.
我的程序没有直接调用该方法,令人沮丧的是,我找不到任何关于此函数的文档。
即使使用空白(Cocoa)Xcode项目也会发生这种情况。为什么我会收到此错误?
答案 0 :(得分:2)
我有这个问题。这是由一个过时的Wacom平板电脑驱动程序引起的。如果您安装了这样的驱动程序,我建议将其删除,然后重新安装更新的驱动程序。这对我有用。