macOS Catalina - can't create c++ project

Hey there!

Unreal v4.25.1
macOS Catalina 10.15.4

Trying to get started with Unreal but having trouble creating a new C++ project. Blueprints projects seem to build OK, but even when I try to add a C++ project to those I get the same error as 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

If somebody could weigh in on this that’d be great as I’ve seen a couple of other threads with the exact same problem with no discussion or solution and I’d love to get some suggestions of things I could try to rectify this as a beginner.

Cheers!

I’m seeing the same issue. Did you make any progress?

Unfortunately I didn’t find a fix.

I seem to remember reading somewhere that this might be an issue fixed in 4.26 but I think Mac devs are so few and far between it isn’t a priority for Epic.

Not sure when 4.26 releases but that may be what we have to wait for to get a fix, which isn’t great.

I’ve just downgraded xcode to 10.3 and this resolves the issue (not ideal, but better than nothing)