CGContext Erase Error

爷,独闯天下 提交于 2019-12-11 02:19:24

问题


I keep getting this error:

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.

My program doesn't call that method directly, and frustratingly, I can't find any documentation on this function.

This happens even with a blank (Cocoa) Xcode project. Why am I getting this error?


回答1:


I had this problem. It was caused by an outdated Wacom Tablet driver. If you have such a driver installed I'd recommend removing it, then reinstalling a more recent driver. That did the trick for me.



来源:https://stackoverflow.com/questions/21488070/cgcontext-erase-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!