MacOS Unable to link empty project

Hello, I am running Sonoma 14.8 with xcode 15.4 and Unreal 5.61.

I am getting a linker error when trying to build any project on my mac and have no idea why.

I have a uninstalled and reinstalled unreal, tried using multiple install locations and reinstalled xcode multiple times, I found the usual macos gotchas but now I am grasping at straws.

These are the steps:

  1. create an empty bp only project with unreal
  2. launch successfully, package → linker error
  3. add a c++ actor class
  4. close unreal
  5. generate xcode project files
  6. open workspace with xcode
  7. try to build
  8. build successfully
  9. linker error

this is the linker error I receive

ld: can’t read the content of loader_path/../../../../../../Shared/Epic Games/UE_5.6/Engine/Binaries/Mac: Is a directory

full log:

Log.txt (344.7 KB)

I have no idea what the issue could be any help would be greatly appreciated. I don’t have another machine to try this on.

The log reveals the following:

ld: can't read the content of loader_path/../../../../../../Shared/Epic Games/UE_5.6/Engine/Binaries/Mac: Is a directory

Could you check the path depth and if this actually exist and if UE has permissions to access it? Does the path contain any special character? Try to repair your UE installation by “Verify” in the Epic Games Launcher: