# XCode26 does not build engine properly 

**URL:** <https://forums.unrealengine.com/t/xcode26-does-not-build-engine-properly/2704873>\
**Category:** XR Development\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [January 5, 2026, 12:32pm UTC](https://forums.unrealengine.com/t/xcode26-does-not-build-engine-properly/2704873 "2026-01-05T12:32:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 5, 2026, 12:32pm UTC](https://forums.unrealengine.com/t/xcode26-does-not-build-engine-properly/2704873/1 "2026-01-05T12:32:23Z")

</div>

Currently you are unable to build the engine (I can’t see any commits on 5.7 or main that would suggest this has been fixed) or build a project properly using XCode26.

This is down to code blocks preventing any version greater than 16.9, along with shader compilation issues.

I can provide the exact code blocks to fix these issues if needed, but are there any plans to take a look at and support XCode / OS 26.2?

Thanks,

Connor

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 5, 2026, 12:32pm UTC](https://forums.unrealengine.com/t/xcode26-does-not-build-engine-properly/2704873/2 "2026-01-05T12:32:27Z")

</div>

**Steps to Reproduce**  
Attempt to build project through XCode or build the engine through XCode, there are code limitations blocking any version greater than XCode16.9.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 5, 2026, 4:00pm UTC](https://forums.unrealengine.com/t/xcode26-does-not-build-engine-properly/2704873/3 "2026-01-05T16:00:45Z")

</div>

Code that needs updating is here :

Engine/Source/Developer/Apple/MetalShaderFormat/Private/MetalShaderCompiler.cpp Line 527

```auto
#if PLATFORM_MAC
		// Xcode 16 is the minimum supported version for MSC
		if(FPlatformMisc::XCodeVersionCompare(16, 0, 0) < 0)
		{
			UE_LOG(LogMetalShaderCompiler, Fatal, TEXT("Compiling shaders for Metal SM6 requires XCode 16.0 or above"));
		}
		
	#endif

```

I’ve taken a look and I think others have actually been reported with recent tickets.

Thanks,

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![step\_jac\_eg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@step\_jac\_eg](https://forums.unrealengine.com/u/step_jac_eg)\
**Post date:** [January 30, 2026, 9:04pm UTC](https://forums.unrealengine.com/t/xcode26-does-not-build-engine-properly/2704873/4 "2026-01-30T21:04:50Z")

</div>

Hi Connor,

In the highlighted code snippet, the MetalShaderCompiler ensures that Xcode 16+ is available as that was the first SM6 Metal Tools.

However, if you require to build UE 5.6 against Xcode 26, you will need to cherrypick the latest version of Apple\_SDK.json ([https://github.com/EpicGames/UnrealEngine/commit/7e089f3671e8f38192a829cf1c830e9d756121f6\](https://github.com/EpicGames/UnrealEngine/commit/7e089f3671e8f38192a829cf1c830e9d756121f6%5C)) which added Xcode 26 support since UE 5.6 predates the release of Xcode 26.

Best regards.

[Attachment Removed]
