On macOS in JIT mode, when the com.apple.security.cs.allow-jit entitlement is missing, the app crashes on launch with the error Exhausted heap space, trying to allocate 32 bytes.... error: Out of memory..
It would be far better if the crash was instead actionable and informed the developer that they should add that entitlement.
On macOS in JIT mode, when the
com.apple.security.cs.allow-jit
entitlement is missing, the app crashes on launch with the errorExhausted heap space, trying to allocate 32 bytes.... error: Out of memory.
.It would be far better if the crash was instead actionable and informed the developer that they should add that entitlement.
Reported in https://github.com/flutter/flutter/issues/115916, @dubik was testing out macOS add-to-app, so Flutter wasn't able to generate the Debug entitlement file.