Hello,
I started to have this issue when creating a new C++ project, everything was working fine, hopefully someone is able to helpmeet, thanks!.
An error occurred while trying to generate project files.
Setting up bundled DotNet SDK
/Volumes/PRO 2/APPS_2/UE_5.6/Engine/Build/BatchFiles/Mac/../../../Binaries/ThirdParty/DotNet/8.0.300/mac-arm64
Running dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll -projectfiles -project=/Volumes/PRO 3/UE_PROJ/CHCH.uproject -game -rocket -progress
Log file: /Users/dg/Library/Application Support/Epic/UnrealBuildTool/Log_GPF.txt
Generating XCode project files:
Discovering modules, targets and source code for project…
Adding projects for all targets…
Adding projects for all targets took 0.83s
Adding projects for all game projects took 0.00s
Adding projects for all modules took 0.43s
Choosing MODERN XCODE based on .ini settings
Compiling with Mac SDK 15.5, minimum Target OS version 14.00
Adding additional Xcode project info took 4.76s
Compiling Rules Assemblies
Compiling Rules Assemblies 100%
Creating Build Targets
Creating Build Targets 100%
Creating Build Targets took 1.12s
Generating data for project indexing…
Generating data for project indexing… 100%
Generating data for project indexing took 1.50s
Writing project files…
Writing project files… 60%
Writing project files took 0.35s
Unhandled 1 aggregate exceptions
Unhandled exception: IOException: Permission denied
Wrapped by UnauthorizedAccessException: Access to the path ‘/Volumes/DOGMA PRO 2’ is denied.
at System.IO.Enumeration.FileSystemEnumerator1.Init() at UnrealBuildTool.XcodeProjectXcconfig.XcodeProjectFile.ProcessSourceFiles() at UnrealBuildTool.XcodeProjectXcconfig.XcodeProjectFile.WriteProjectFile(List
1 InPlatforms, List1 InConfigurations, PlatformProjectGeneratorCollection PlatformProjectGenerators, ILogger Logger) at UnrealBuildTool.ProjectFileGenerator.<>c__DisplayClass112_0.<WriteProjectFiles>b__0(ProjectFile CurProject) at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0
2.b__1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
— End of stack trace from previous location —
at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`2.b__1(RangeWorker& currentWorker, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
at System.Threading.Tasks.TaskReplicator.Replica.Execute()
Result: Failed (OtherCompilationError)
Total execution time: 9.90 seconds