'NSAssert is enable after custom flutter engine

I get a crash message,

NSInternalInconsistencyException Invalid JSON message, decoding failed CoreFoundation ___exceptionPreprocess

crash in FlutterCodecs.mm

NSAssert(encoding, @"Invalid JSON message, encoding failed");

I compiled the flutter engine myself, Compiling-the-engine

How do I turn off NSAssert?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source