Exit code 138 when packaging a UE5.5.4 app for iOS with cesium plugin

The Exit Code 138 can most likely be fixed by disabling the Unreal Build Accelerator and limiting the number of simultaneous compilations to two. I believe the problem is that the Mac is running out of memory. You can find instructions for doing this here: