C++ project creation crash

I’ve been trying to create a new C++ project file using xcode 11 but I keep getting this error thrown at me and I’m not sure what the issue could be.

Xcode 11
OSX Catalina 10.15.3
Unreal engine 4.24.3
Running Mono…

Found mono via known Mono.framework path
Running system mono/msbuild, version: Mono JIT compiler version 6.8.0.123 (2019-10/1d0d939dc30 Thu Mar 12 23:19:08 EDT 2020)
/Users/Shared/Epic Games/UE_4.24/Engine /Users/Shared/Epic Games/UE_4.24/Engine/Binaries/Mac
Discovering modules, targets and source code for project...
ERROR: Unhandled exception: Tools.DotNETCommon.JsonParseException: Unable to parse /Users/Shared/Epic Games/UE_4.24/Engine/Intermediate/Build/BuildRules/UE4RulesManifest.json: Could not find token at index 28676
         at Tools.DotNETCommon.JsonObject.Read (Tools.DotNETCommon.FileReference File) [0x0002e] in <fb5668c9245f482aa85c9b9a2b1fc966>:0 
         at UnrealBuildTool.DynamicCompilation.RequiresCompilation (System.Collections.Generic.HashSet`1[T] SourceFiles, Tools.DotNETCommon.FileReference AssemblyManifestFilePath, Tools.DotNETCommon.FileReference OutputAssemblyPath) [0x00089] in <06064b8668524fbe8f731819d614f376>:0 
         at UnrealBuildTool.DynamicCompilation.CompileAndLoadAssembly (Tools.DotNETCommon.FileReference OutputAssemblyPath, System.Collections.Generic.HashSet`1[T] SourceFileNames, System.Collections.Generic.List`1[T] ReferencedAssembies, System.Collections.Generic.List`1[T] PreprocessorDefines, System.Boolean DoNotCompile, System.Boolean TreatWarningsAsErrors) [0x00030] in <06064b8668524fbe8f731819d614f376>:0 
         at UnrealBuildTool.RulesAssembly..ctor (UnrealBuildTool.RulesScope Scope, Tools.DotNETCommon.DirectoryReference BaseDir, System.Collections.Generic.IReadOnlyList`1[T] Plugins, System.Collections.Generic.Dictionary`2[TKey,TValue] ModuleFileToContext, System.Collections.Generic.List`1[T] TargetFiles, Tools.DotNETCommon.FileReference AssemblyFileName, System.Boolean bContainsEngineModules, System.Nullable`1[T] DefaultBuildSettings, System.Boolean bReadOnly, System.Boolean bSkipCompile, UnrealBuildTool.RulesAssembly Parent) [0x00098] in <06064b8668524fbe8f731819d614f376>:0 
         at UnrealBuildTool.RulesCompiler.CreateEngineOrEnterpriseRulesAssembly (UnrealBuildTool.RulesScope Scope, System.Collections.Generic.List`1[T] RootDirectories, System.String AssemblyPrefix, System.Collections.Generic.IReadOnlyList`1[T] Plugins, System.Boolean bReadOnly, System.Boolean bSkipCompile, UnrealBuildTool.RulesAssembly Parent) [0x00172] in <06064b8668524fbe8f731819d614f376>:0 
         at UnrealBuildTool.RulesCompiler.CreateEngineRulesAssembly (System.Boolean bUsePrecompiled, System.Boolean bSkipCompile) [0x00042] in <06064b8668524fbe8f731819d614f376>:0 
         at UnrealBuildTool.RulesCompiler.CreateProjectRulesAssembly (Tools.DotNETCommon.FileReference ProjectFileName, System.Boolean bUsePrecompiled, System.Boolean bSkipCompile) [0x0002b] in <06064b8668524fbe8f731819d614f376>:0 
         at UnrealBuildTool.ProjectFileGenerator.AddProjectsForAllTargets (UnrealBuildTool.PlatformProjectGeneratorCollection PlatformProjectGenerators, System.Collections.Generic.List`1[T] AllGames, System.Collections.Generic.List`1[T] AllTargetFiles, UnrealBuildTool.ProjectFile& EngineProject, UnrealBuildTool.ProjectFile& EnterpriseProject, System.Collections.Generic.List`1[UnrealBuildTool.ProjectFile]& GameProjects, System.Collections.Generic.Dictionary`2[Tools.DotNETCommon.FileReference,UnrealBuildTool.ProjectFile]& ProgramProjects) [0x00194] in <06064b8668524fbe8f731819d614f376>:0 
         at UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles (UnrealBuildTool.PlatformProjectGeneratorCollection PlatformProjectGenerators, System.String[] Arguments) [0x003c4] in <06064b8668524fbe8f731819d614f376>:0 
         at UnrealBuildTool.GenerateProjectFilesMode.Execute (Tools.DotNETCommon.CommandLineArguments Arguments) [0x00326] in <06064b8668524fbe8f731819d614f376>:0 
         at UnrealBuildTool.UnrealBuildTool.Main (System.String[] ArgumentsArray) [0x002bb] in <06064b8668524fbe8f731819d614f376>:0

I’m rather new to unreal engine but could this possibly be an incompatibility with xcode 11 or possibly some missing components?

Hi there,

Also going to add to this - having the same problems creating C++ projects. Blueprint project creation works fine it seems.

My specs: macOS Catalina 10.15.4, Unreal Engine 4.25.1

Code below.

An error occurred while trying to generate project files.


Running Mono...

Found mono via known Mono.framework path
Running system mono/msbuild, version: Mono JIT compiler version 6.8.0.123 (2019-10/1d0d939dc30 Thu Mar 12 23:19:08 EDT 2020)
/Users/Shared/Epic Games/UE_4.25/Engine /Users/Shared/Epic Games/UE_4.25/Engine/Binaries/Mac
ERROR: Unhandled exception: System.UnauthorizedAccessException: Access to the path '/Users/my_username_here/.config/Unreal Engine/UnrealBuildTool' is denied. ---> System.IO.IOException: Permission denied
          --- End of inner exception stack trace ---
         at System.IO.FileSystem.CreateDirectory (System.String fullPath) [0x00191] in <f9d1b832704f410aa8ec771f4fe80552>:0 
         at System.IO.Directory.CreateDirectory (System.String path) [0x0002c] in <f9d1b832704f410aa8ec771f4fe80552>:0 
         at Tools.DotNETCommon.DirectoryReference.CreateDirectory (Tools.DotNETCommon.DirectoryReference Location) [0x00000] in <de16969af7b74ba08cc743beb47ab6b0>:0 
         at UnrealBuildTool.XmlConfig.CreateDefaultConfigFile (Tools.DotNETCommon.FileReference Location) [0x00006] in <a7b9effa271c41a490e2f0e242698950>:0 
         at UnrealBuildTool.XmlConfig.FindInputFiles () [0x00102] in <a7b9effa271c41a490e2f0e242698950>:0 
         at UnrealBuildTool.XmlConfig.ReadConfigFiles (Tools.DotNETCommon.FileReference OverrideCacheFile) [0x000d4] in <a7b9effa271c41a490e2f0e242698950>:0 
         at UnrealBuildTool.UnrealBuildTool.Main (System.String[] ArgumentsArray) [0x001d5] in <a7b9effa271c41a490e2f0e242698950>:0

Any help would be hugely appreciated - really looking forward to getting stuck in with learning Unreal Engine.

Cheers!