App crashes in xcode 7 beta 5

Every time app crashes on startup, how to fix that, with following error


CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

<Error>: CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

Replies

Yup. Me too.

Those error messages probably aren't related to what is causing your app to crash. I am seeing them in some projects that run fine. See discussion here - those messages are apparently caused by a known bug.