[Mac OS X] Build default C++ project error
When trying to build a default template project, the following errors are displayed in XCode:
Building ExampleProject_1Editor... Compiling with Mac SDK 10.9 Parsing headers for ExampleProject_1Editor Code generation finished for ExampleProject_1Editor and took 7.517 ERROR: System.IO.FileNotFoundException: Could not load file or assembly 'System.Management, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. File name: 'System.Management, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at UnrealBuildTool.UnrealBuildTool.ExecuteActions (System.Collections.Generic.List`1 ActionsToExecute, System.String& ExecutorName) [0x00000] in :0 at UnrealBuildTool.UnrealBuildTool.RunUBT (System.String Arguments) [0x00000] in :0 Cumulative action seconds (4 processors): 0.00 building projects, 0.00 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other UBT execution time: 17.47 seconds Command /Users/Shared/UnrealEngine/4.2/Engine/Build/BatchFiles/Mac/RocketBuild.sh failed with exit code 2
asked Jul 09 '14 at 05:35 PM in Bug Reports
Yes, UE4 is searching system for usable Mono and only uses its own if it didn't find it. And yes, you should be OK if you uninstall Mono you have.
You can force UE to always use its own Mono by editing SetupMono.sh file in engine's Engine/Build/BatchFiles/Mac folder - comment out lines 15 and 16 with # character (like lines 17 an 18).
answered Sep 10 '14 at 07:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here