From bc30d67c3f203d682dceaee5c3752da4ffe2c46f Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 8 Apr 2026 09:21:03 +0200 Subject: [PATCH] Update XCode min version to `16.4` --- README.md | 6 +++--- Source/Tools/Flax.Build/Platforms/Apple/XCode.cs | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f4cc82ee2..924995b4f 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Follow the instructions below to compile and run the engine from source. * Install Visual Studio 2022 or newer * Install Windows 8.1 SDK or newer (via Visual Studio Installer) * Install Microsoft Visual C++ 2015 v140 toolset or newer (via Visual Studio Installer) -* Install .NET 8 or 9 SDK for **Windows x64** (via Visual Studio Installer or [from web](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)) +* Install .NET 8 SDK (or newer) for **Windows x64** (via Visual Studio Installer or [from web](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)) * Install Git with LFS * Clone repo (with LFS) * Run **GenerateProjectFiles.bat** @@ -72,8 +72,8 @@ Follow the instructions below to compile and run the engine from source. ## Mac -* Install XCode -* Install .NET 8 or 9 SDK ([https://dotnet.microsoft.com/en-us/download/dotnet/8.0](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)) +* Install XCode 16.4 (or newer) +* Install .NET 8 SDK (or newer) ([https://dotnet.microsoft.com/en-us/download/dotnet/8.0](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)) * Install Vulkan SDK ([https://vulkan.lunarg.com/](https://vulkan.lunarg.com/)) * Clone repo (with LFS) * Run `GenerateProjectFiles.command` diff --git a/Source/Tools/Flax.Build/Platforms/Apple/XCode.cs b/Source/Tools/Flax.Build/Platforms/Apple/XCode.cs index 022f3ab5a..c7be8c04e 100644 --- a/Source/Tools/Flax.Build/Platforms/Apple/XCode.cs +++ b/Source/Tools/Flax.Build/Platforms/Apple/XCode.cs @@ -50,7 +50,12 @@ namespace Flax.Build.Platforms { versionText = versionParts[1].Trim(); if (Version.TryParse(versionText, out var v)) + { Version = v; + var minVersion = new Version(16, 4); + if (Version < minVersion) + Log.Error(string.Format("Unsupported XCode SDK version {0}. Minimum supported is {1}.", Version, minVersion)); + } } } }