The solution for me was that Command Line Tools 13.2 needed to be reinstalled on system after updating from Big Sur to Monterey even though it was already installed when system was running Big Sur.
Although another strange issue has arisen. If anyone knows what could be causing this or how to fix it?
Following GitHub Install Instructions for Mac:
Now I can successfully Build the following:
Product → Build: ShaderCompileWorker (MyMac)
Product → Build: UE5 (MyMac)
UnrealEditor.app is generated under my /Binaries/Mac/UnrealEditor.app location it opens successfully and the UnrealEditor app runs fine on my machine natively BUT if I try to rebuild the Unreal Editor for any reason:
(i.e- Product → Run UE5 (MyMac) which will rebuild the UnrealEditor.app and then Run it.
OR Product → Build UE5 (MyMac) rebuilding the UnrealEditor.app )
The Next time I try to run the UnrealEditor.app application the UnrealEditor.app crashes: with the debugger throwing a “file not found error”:
‘UnrealEditor-Core.dylib (File System Sandbox Blocked open() )’
Now I know the file exists because:
- I can see it
2.the UnrealEditor.app runs fine ONLY when the application is built from a ‘1st time Clean Build’ of the source code.
(i.e-if I run:
Product → Clean ShaderCompileWorker (MyMac)
Product → Clean UE5 (MyMac)
and then repeat the steps to Build UnrealEditor.app )
the application works again and continues to work even closing quitting and reopening the app it continues to work. ONLY if I REBUILD the application it throws the above error and then I have to rebuild the entire application from scratch again after running Product → Clean to fix the issue with the above error which takes about 1.5 hrs - 2 hrs. Not incredibly undoable but something just doesn’t seem right about this. Any idea as to what could cause this?
Evan