C++ Projects Fail to Build on Mac

MC1RScorpion
Wed, 05 Mar 2025 14:27:36 +0000
Getting Started & Setup

Hello,

I have a question about creating a 5.5.3 C++ project on macOS for anyone who knows.

Whenever I try to create a C++ project, I get the following error:

An error occurred while trying to generate project files.

Setting up bundled DotNet SDK
/Users/Shared/EpicGames/UE_5.5/Engine/Build/BatchFiles/Mac/../../../Binaries/ThirdParty/DotNet/8.0.300/mac-arm64
Running dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll -projectfiles -project=/Users/MyUserName/Documents/Unreal Projects/MyProject/MyProject.uproject -game -rocket -progress
Unhandled exception: IOException: Permission denied
Wrapped by UnauthorizedAccessException: Access to the path '/Users/MyUserName/Documents/Library/Application Support/Epic/UnrealEngine' is denied.
   at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
   at System.IO.Directory.CreateDirectory(String path)
   at EpicGames.Core.DirectoryReference.CreateDirectory(DirectoryReference location) in /Users/build/Build/++UE5/Sync/Engine/Saved/CsTools/Engine/Source/Programs/Shared/EpicGames.Core/DirectoryReference.cs:line 320
   at UnrealBuildTool.XmlConfig.ReadConfigFiles(FileReference overrideCacheFile, DirectoryReference projectRootDirectory, ILogger logger) in /Users/build/Build/++UE5/Sync/Engine/Saved/CsTools/Engine/Source/Programs/UnrealBuildTool/System/XmlConfig.cs:line 165
   at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in /Users/build/Build/++UE5/Sync/Engine/Saved/CsTools/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.cs:line 559

So it looks like Unreal doesn’t have permission to access /Library. I’ve tried giving Unreal editor, Xcode, and DotNet full disk access and I’ve tried setting the folders from /Library to /5.5 to Read & Write for the Everyone user but the error is always the same.

Blueprint projects build without issue. Both C++ and Blueprint projects build without issue in 5.4.

Any advice on how to solve this would be appreciated.

Cheers.

4 posts - 3 participants