please set CG_CONTEXT_SHOW_BACKTRACE environmental variable
Despite looking over more than 3 post (made in 2015) about this problem, non have solved mine. When ever I run, a simple, code to draw a line using UIBezierPath the program would return me this: : CGContextSetStrokeColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable. : CGContextSetFillColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable. : CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT