I’m trying to build a game using Xcode 15.3 with Unreal Engine 5.3.2 and I get these errors:
Internal inconsistency error: never received target ended message for target ID '1' (in target 'Test_Build' from project 'Test (Mac)'). Build again to continue.
Command ExternalBuildToolExecution failed with a nonzero exit code
I’m on MacBook Pro M3 Max, macOS Sonoma 14.4.1.
I searched the forums but couldn’t find a viable answer; any idea how to fix it?
In Xcode on the top left open the project navigator (folder icon)
select UnrealEditor (Mac)
On the right in Project Document : Project Format Xcode 15.3
Then I could build and run
EDIT : I had this issue while installing the Engine from Source. I then had the same issue in a project. When I tried to clean build folder it failed.
What I’ve done is deleting everything in ~/Library/Developer/Xcode/DerivedData then regenerated project files and started Xcode
I finally was able to resolve this issue. I used rider to compile the project and I was getting several warnings. I added the following lines to Editor.Target.cs and the project compiled. This basically ignored some warnings that the compiler throws at you. You might need to comment them out while building on windows.