# Platform Mac is not a valid platform to build. Compile failed

**URL:** <https://forums.unrealengine.com/t/platform-mac-is-not-a-valid-platform-to-build-compile-failed/593709>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, UE5-0\
**Created:** [June 29, 2022, 10:22pm UTC](https://forums.unrealengine.com/t/platform-mac-is-not-a-valid-platform-to-build-compile-failed/593709 "2022-06-29T22:22:09Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![dBugSlayer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dBugSlayer](https://forums.unrealengine.com/u/dBugSlayer)\
**Post date:** [September 29, 2025, 6:45pm UTC](https://forums.unrealengine.com/t/platform-mac-is-not-a-valid-platform-to-build-compile-failed/593709/17 "2025-09-29T18:45:31Z")

</div>

I found the solution on the post below. The issue was related to Xcode 26. So I installed Xcode 16.4 alongside Xcode 26 and selected version 16.4 is the default build tool.

> [@Platform Mac is not a valid platform to build. Check that the SDK is installed properly and that you have the necessary platorm support files (DataDrivenPlatformInfo.ini, SDK.json, etc).](https://forums.unrealengine.com/t/platform-mac-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly-and-that-you-have-the-necessary-platorm-support-files-datadrivenplatforminfo-ini-sdk-json-etc/1846659/3):
>
> The solution was to install Xcode 16.4 alongside Xcode 26 Beta. If necessary use xcode-select to ensure version 16.4 is the command-line default build tool. % sudo xcode-select -s /Applications/Xcode.app/Contents/Developer Password: % xcode-select -p /Applications/Xcode.app/Contents/Developer

---

_[View the full topic](https://forums.unrealengine.com/t/platform-mac-is-not-a-valid-platform-to-build-compile-failed/593709)._
