Packaging error on macOS: DefaultArchitecture value issue

Hi everyone,

I encountered an error while trying to package a macOS build with Unreal Engine 5.6 on my Mac:

Unknown DefaultArchitecture value found ('arm64+x86_64') in .ini
AutomationTool exiting with ExitCode=1 (Error_Unknown)
RunUAT ERROR: AutomationTool was unable to run successfully. Exited with code: 1

I tried fixing it in DefaultEngine.ini by changing the DefaultArchitecture value. I tested: “arm64+x86_64”, “x86_64”, “arm64”, “MacTargetArchitectureUniversal”, and “MacTargetArchitectureHost”, but none of them worked. I also tried changing it via command line, but that didn’t help either.

Does anyone know how to fix this?

Problem Solved

Fix (edit DefaultEngine.ini under [Mac]):

EditorDefaultArchitecture=MacTargetArchitectureHost DefaultArchitecture=MacTargetArchitectureHost

SDK/Xcode note:

I also hit packaging issues related to the SDK. I fixed them by installing Xcode 16.4 (I had been using 26.0.1). Make sure your Xcode version and SDKs match the engine.