Crash Due to Optimization

I am getting the following crash only when building in release mode and only on iPhone 12 and up generations:

pump-content was compiled with optimization - stepping may behave oddly; variables may not be available.

I have encountered this bug before and it usually can be fixed by turning off all optimization in the release build. But for some reason, this has not worked. Here are my build settings:

I have cleaned the build cmd+shift+k, but I still get the same error. Appreciate any help, thanks.

Crash Due to Optimization
 
 
Q