一、XCode警告[Unknown process name] CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
-
1、在Scheme中添加
CG_CONTEXT_SHOW_BACKTRACE
为NO
image.png -
2、删除应用,重新运行可以发现
HWCornerView initWithFrame
出现问题
image.png -
3、
HWCornerView
的代码,需要把UIBezierPath
相关的代码放到DrawRect
当中即可。
image.png
二、CUICatalog: Invalid asset name supplied: '' 解决办法
详情: https://blog.csdn.net/qq_19963691/article/details/78316150