Hello. I am trying to get 4.27plus version of the engine running on my mac.
- I followed the Mac instructions here to:
- clone the repo
- run setup.command
- run generateProjectfiles.command
- open the xcworkspace
- Build ShaderCompilerWorker
- Build UE4
- Run
- editor opens
- I make a new empty project.
- Try to build for mac.
- Get this error.
UATHelper: Packaging (Mac): Running AutomationTool...
UATHelper: Packaging (Mac): Found mono via known Mono.framework path
UATHelper: Packaging (Mac): Running system mono/msbuild, version: Mono JIT compiler version 5.16.0.221 (2018-06/b63e5378e38 Mon Nov 19 18:08:09 EST 2018)
UATHelper: Packaging (Mac): msbuild Source/Programs/AutomationTool/AutomationTool.csproj /p:Configuration=Development /p:Platform=AnyCPU /verbosity:quiet /nologo /p:NoWarn=1591 /property:AutomationToolProjectOnly=true /p:TargetFrameworkProfile=
LogSlate: Took 0.000422 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/DroidSansMono.ttf' (77K)
UATHelper: Packaging (Mac): Start UAT: mono AutomationTool.exe -ScriptsForProject=/Documents/Unreal Projects/MyProject5/MyProject5.uproject BuildCookRun -nocompileeditor -nop4 -project=/Documents/Unreal Projects/MyProject5/MyProject5.uproject -cook -stage -archive -archivedirectory=/Documents/untitled folder -p
ackage -ue4exe=/Documents/GitHub/UnrealEngine/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor -compressed -ddc=DerivedDataBackendGraph -pak -prereqs -nodebuginfo -targetplatform=Mac -build -target=MyProject5 -clientconfig=Shipping -utf8output
UATHelper: Packaging (Mac): Parsing command line: -ScriptsForProject="/Documents/Unreal Projects/MyProject5/MyProject5.uproject" BuildCookRun -nocompileeditor -nop4 -project="/Documents/Unreal Projects/MyProject5/MyProject5.uproject" -cook -stage -archive -archivedirectory="/Documents/untitled folder" -package
-ue4exe=/Documents/GitHub/UnrealEngine/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor -compressed -ddc=DerivedDataBackendGraph -pak -prereqs -nodebuginfo -targetplatform=Mac -build -target=MyProject5 -clientconfig=Shipping -utf8output -compile
UATHelper: Packaging (Mac): Dependencies are out of date. Compiling scripts....
UATHelper: Packaging (Mac): MSBUILD : error MSB1001: Unknown switch.
UATHelper: Packaging (Mac): Switch: /Documents/GitHub/UnrealEngine/Engine/Programs/AutomationTool/Saved/UATTempProj.proj
UATHelper: Packaging (Mac):
UATHelper: Packaging (Mac): For switch syntax, type "MSBuild /help"
UATHelper: Packaging (Mac): Took 0.201629s to run msbuild, ExitCode=1
UATHelper: Packaging (Mac): ERROR: Failed to build "/Documents/GitHub/UnrealEngine/Engine/Programs/AutomationTool/Saved/UATTempProj.proj":
UATHelper: Packaging (Mac): MSBUILD : error MSB1001: Unknown switch.
UATHelper: Packaging (Mac): Switch: /Documents/GitHub/UnrealEngine/Engine/Programs/AutomationTool/Saved/UATTempProj.proj
UATHelper: Packaging (Mac):
UATHelper: Packaging (Mac): For switch syntax, type "MSBuild /help"
UATHelper: Packaging (Mac):
UATHelper: Packaging (Mac): (see /Library/Logs/Unreal Engine/LocalBuildLogs/Log.txt for full exception trace)
PackagingResults: Error: Failed to build "/Documents/GitHub/UnrealEngine/Engine/Programs/AutomationTool/Saved/UATTempProj.proj":
UATHelper: Packaging (Mac): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Mac): RunUAT ERROR: AutomationTool was unable to run successfully.
PackagingResults: Error: AutomationTool was unable to run successfully.
PackagingResults: Error: Unknown Error
system details:
— OS —
ProductName: macOS
ProductVersion: 13.6
BuildVersion: 22G120
— Xcode—
Xcode 14.1
Build version 14B47b