MAC compiled but not started the editor

Hi guys!

Trying to start our UE 5.2 project on MAC m2 (MacOS 14.0). Looks like all compiled, but after start gets an error:

__cxa_throw (@__cxa_throw:3)
Security::MacOSError::throwMe(int) (@Security::MacOSError::throwMe(int):21)
Security::CodeSigning::SecStaticCode::staticValidateCore(unsigned int, Security::CodeSigning::SecRequirement const*) (@Security::CodeSigning::SecStaticCode::staticValidateCore(unsigned int, Security::CodeSigning::SecRequirement const*):496)
Security::CodeSigning::SecStaticCode::staticValidate(unsigned int, Security::CodeSigning::SecRequirement const*) (@Security::CodeSigning::SecStaticCode::staticValidate(unsigned int, Security::CodeSigning::SecRequirement const*):80)
SecStaticCodeCheckValidityWithErrors (@SecStaticCodeCheckValidityWithErrors:60)
FMacPlatformProcess::IsSandboxedApplication()::$_0::operator()() const (/Users/antoniovbak/Desktop/UnrealProjects/UnrealEngine-release/Engine/Source/Runtime/Core/Private/Mac/MacPlatformProcess.cpp:967)
FMacPlatformProcess::IsSandboxedApplication() (/Users/antoniovbak/Desktop/UnrealProjects/UnrealEngine-release/Engine/Source/Runtime/Core/Private/Mac/MacPlatformProcess.cpp:949)
FMacApplicationInfo::Init() (/Users/antoniovbak/Desktop/UnrealProjects/UnrealEngine-release/Engine/Source/Runtime/Core/Private/Mac/MacPlatformMisc.cpp:236)
FMacPlatformMisc::PlatformPreInit() (/Users/antoniovbak/Desktop/UnrealProjects/UnrealEngine-release/Engine/Source/Runtime/Core/Private/Mac/MacPlatformMisc.cpp:534)
FEngineLoop::AppInit() (/Users/antoniovbak/Desktop/UnrealProjects/UnrealEngine-release/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp:6306)
FEngineLoop::PreInitPreStartupScreen(char16_t const*) (/Users/antoniovbak/Desktop/UnrealProjects/UnrealEngine-release/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp:2860)
FEngineLoop::PreInit(char16_t const*) (/Users/antoniovbak/Desktop/UnrealProjects/UnrealEngine-release/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp:4380)
EnginePreInit(char16_t const*) (/Users/antoniovbak/Desktop/UnrealProjects/UnrealEngine-release/Engine/Source/Runtime/Launch/Private/Launch.cpp:41)
GuardedMain(char16_t const*) (/Users/antoniovbak/Desktop/UnrealProjects/UnrealEngine-release/Engine/Source/Runtime/Launch/Private/Launch.cpp:140)
-[UEAppDelegate runGameThread:] (/Users/antoniovbak/Desktop/UnrealProjects/UnrealEngine-release/Engine/Source/Runtime/Launch/Private/Mac/LaunchMac.cpp:244)
-[FCocoaGameThread main] (/Users/antoniovbak/Desktop/UnrealProjects/UnrealEngine-release/Engine/Source/Runtime/Core/Private/Mac/CocoaThread.cpp:383)
NSThread__start (@NSThread__start:182)
_pthread_start (@_pthread_start:37)

I think maybe it is related with some MAC specific permissions. First time on mac, will appreciate any thoughts!

Hey,

I am having the same error on macOS when using Visual Studio Code.
It’s working fine when using xcode.

When using xcode make sure to select “YourGameEditor” as the schema
image