On macOS, creating release builds of InForm-PE with the OptimizeCppProgram compiler flag results in a runtime crash.
The project compiles successfully, but launching UiEditor triggers the following error:
libc++abi: terminating due to uncaught exception of type std::length_error: basic_string
The current workaround in place is to avoid building InForm-PE on macOS using the OptimizeCppProgram flag.
This issue appears to be related to C++ optimization behavior on macOS and may require investigation on the QB64-PE side.
Issue replicated on macOS Sequoia 15.6.1 and QB64-PE 4.2.0.