# UE5.8 Unable to build Game on macOS 27

**URL:** <https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** MAC, unreal-engine, fixed\
**Created:** [August 26, 2026, 4:06pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676 "2026-08-26T16:06:27Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raven-Nine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raven-Nine](https://forums.unrealengine.com/u/Raven-Nine)\
**Post date:** [August 26, 2026, 4:06pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/1 "2026-08-26T16:06:27Z")

</div>

### Summary

Unreal 5.8.1 or 5.8.2 on macOS 27 with Xcode 27 won’t complete a build of the Game profile via UBA or through the create packaged build option within the editor. Fails at step ‘Touch UBT generated tiles’ with Bad File Descriptor. Editor builds without issues.

### What Type of Bug are you experiencing?

Platform Other

### Steps to Reproduce

Attempt to build Game in either DebugGame, Development or Shipping profile

### Expected Result

Game .app bundle is created without errors

### Observed Result

Fails at step ‘Touch UBT generated tiles’ with Bad File Descriptor which seems to be a generated script in /var/folders/fy/qk7h6txd4q3400xh3ts0\_dsc0000gn/T/SchemeScriptAction-xxxxxx.sh  
It also outputs a base64 encoded string into the log;  
{“type”:{“workspace”:{}}}

### Affects Versions

5.8

### Platform(s)

Mac

---

<div class="post-metadata">

**Author:** ![Raven-Nine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raven-Nine](https://forums.unrealengine.com/u/Raven-Nine)\
**Post date:** [September 7, 2026, 2:44pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/2 "2026-09-07T14:44:46Z")

</div>

As a follow-up to this post. If I download the source version of UE 5.8.2 and attempt to compile it for macOS, every time it reaches a point where it creates an app bundle for the Editor or Game, the same error is presented. So it seems to be a general issue with the build pipeline when creating app bundles on macOS 27 with Xcode 27.

---

<div class="post-metadata">

**Author:** ![ForIHaveArrived](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ForIHaveArrived](https://forums.unrealengine.com/u/ForIHaveArrived)\
**Post date:** [September 16, 2026, 8:25pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/5 "2026-09-16T20:25:00Z")

</div>

Still same issue exists with UE 5.8.2 released version.

LogPlayLevel: UAT: \*\* BUILD FAILED \*\*  
LogPlayLevel: UAT:  
LogPlayLevel: UAT:  
LogPlayLevel: UAT: The following build commands failed:  
LogPlayLevel: UAT: Run custom shell script ‘Touch UBT generated tiles’  
LogPlayLevel: UAT: eyJ0eXBlIjp7IndvcmtzcGFjZSI6e319fQ==  
LogPlayLevel: UAT: (2 failures)  
LogPlayLevel: Error: UAT: ERROR: Failed to finalize the .app with Xcode. Check the log for more information

---

<div class="post-metadata">

**Author:** ![Mealtris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mealtris](https://forums.unrealengine.com/u/Mealtris)\
**Post date:** [September 17, 2026, 6:23am UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/6 "2026-09-17T06:23:45Z")

</div>

Confirming this issue on macOS 27, Xcode 27, UE 5.8.2, using Modern Xcode IOS build.

Build fails at the “Touch UBT generated tiles” scheme pre-action script with zero output. No error, no log line from the script itself, just “BUILD FAILED” and “Failed to finalize the .app with Xcode”.

Granting disk access to dotnet or other Unreal tools didn’t help. Also tried disabling UBA, disabling Spotlight indexing, and running the build scripts with elevated permissions - no change.

Building from Xcode project directly works fine. “Touch UBT generated tiles” pre-action runs without issue there. It fails when building via terminal / Editor. But building through Xcode doesn’t cook content, so you first need at least one successful terminal/Editor build to get cooked content before Xcode builds are actually usable.

The only workaround I found: fully wipe Binaries, Saved and Intermediate (project + plugins), Xcode/DerivedData and delete the generated .app before every build. A clean build from terminal lets the pre-action script run. Just deleting the .app isn’t enough. Even with a full wipe it’s not 100% reliable, but it’s the only thing that consistently helps.

And there’s no way to run Xcode 26 on macOS 27…

UPD: for iOS SDK 27 you also need `bUseSceneBasedLifecycle` enabled, otherwise you get a crash. And to actually use it you need to rebuild the ApplicationCore and Launch Engine modules with that flag - without the rebuild you just get a black screen instead of a crash.

---

<div class="post-metadata">

**Author:** ![Flak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flak/32/769441_2.png) [@Flak](https://forums.unrealengine.com/u/Flak)\
**Post date:** [September 17, 2026, 12:28pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/7 "2026-09-17T12:28:59Z")

</div>

Thank you for flagging, getting this to the proper team to take a look.

---

<div class="post-metadata">

**Author:** ![Flak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flak/32/769441_2.png) [@Flak](https://forums.unrealengine.com/u/Flak)\
**Post date:** [September 17, 2026, 1:12pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/8 "2026-09-17T13:12:24Z")

</div>

Thank you for flagging everyone. They are working on it.

---

<div class="post-metadata">

**Author:** ![\_aking](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/_aking/32/924182_2.png) [@\_aking](https://forums.unrealengine.com/u/_aking)\
**Post date:** [September 18, 2026, 1:22pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/9 "2026-09-18T13:22:33Z")

</div>

A fix was committed into Main (github [link](https://github.com/EpicGames/UnrealEngine/commit/06fa24ae669fe9a985c25609e4641ec10805c5aa)) and we will work on getting it into a future 5.8.x hotfix.

---

<div class="post-metadata">

**Author:** ![Mealtris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mealtris](https://forums.unrealengine.com/u/Mealtris)\
**Post date:** [September 18, 2026, 1:50pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/10 "2026-09-18T13:50:10Z")

</div>

Thanks a lot for the quick fix and for linking the commit!

One follow-up: any plans for the `bUseSceneBasedLifecycle` requirement on an Xcode 27 build? Without it enabled, the IOS build crashes. But enabling it alone isn’t enough. `IOSSceneDelegate` only gets compiled in if `ApplicationCore` is rebuilt with `UE_IOS_SCENE_LIFECYCLE`, so on an installed engine you get a black screen instead (`Info.plist` points to a class that was never built). Would be great if this shipped enabled by default for Xcode 27, or as part of the precompiled binaries in a hotfix.

Wanted to give a heads-up before this turns into a bunch of separate reports

---

<div class="post-metadata">

**Author:** ![\_aking](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/_aking/32/924182_2.png) [@\_aking](https://forums.unrealengine.com/u/_aking)\
**Post date:** [September 18, 2026, 6:52pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/12 "2026-09-18T18:52:34Z")

</div>

It is a topic we are discussing internally. You can still build with Xcode26.6 with macOS27 via UE Editor, RunUAT or ushell, even if you can not open Xcode26 directly. Building with Xcode26 avoids the crash on iOS27 devices.

Before it can be enabled by default, QA will need to test it across multiple projects to confirm there’s no regressions.

---

<div class="post-metadata">

**Author:** ![ForIHaveArrived](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ForIHaveArrived](https://forums.unrealengine.com/u/ForIHaveArrived)\
**Post date:** [September 23, 2026, 7:09pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/15 "2026-09-23T19:09:33Z")

</div>

Newly released 5.8.3 does not seem to have the fix. Is it expected as part of 5.8.4?

---

<div class="post-metadata">

**Author:** ![Mealtris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mealtris](https://forums.unrealengine.com/u/Mealtris)\
**Post date:** [September 24, 2026, 4:59pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/16 "2026-09-24T16:59:02Z")

</div>

If you’ve installed the engine source through the Launcher, the UBT .sln project is already there (/UE\_5.8/Engine/Source/Programs/UnrealBuildTool).  
You can just add those couple of lines with the fix, rebuild it, and copy the binaries from the UBT project (“obj” folder) into the engine’s Binaries folder.

I do this a lot, actually: instead of dealing with a source build, I just rebuild the specific engine modules I’ve changed and swap their binaries into the Launcher engine

---

<div class="post-metadata">

**Author:** ![\_aking](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/_aking/32/924182_2.png) [@\_aking](https://forums.unrealengine.com/u/_aking)\
**Post date:** [September 24, 2026, 8:24pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/17 "2026-09-24T20:24:07Z")

</div>

The switch to using UIScene lifecycle has made it into the github dev-5.8 repo [here](https://github.com/EpicGames/UnrealEngine/commit/97f9006bbc48c2e9010081368d76d9e2863ef7b9). Still no guarantee it will be in the next 5.8 hotfix as it can always be reverted, but you can merge it into your own engine build if you do not want to wait. Cheers.

---

<div class="post-metadata">

**Author:** ![not\_jyc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@not\_jyc](https://forums.unrealengine.com/u/not_jyc)\
**Post date:** [September 25, 2026, 7:08pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/18 "2026-09-25T19:08:23Z")

</div>

As ForIHaveArrived mentions, the “Touch UBT generated tiles” step still fails on UE 5.8.3. @_aking I know you mentioned the switch to the UIScene lifecycle might be in the next 5.8 hotfix; do you know when the “Touch UBT generated tiles” fix will make it in?

---

<div class="post-metadata">

**Author:** ![\_aking](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/_aking/32/924182_2.png) [@\_aking](https://forums.unrealengine.com/u/_aking)\
**Post date:** [September 25, 2026, 9:14pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/19 "2026-09-25T21:14:12Z")

</div>

> [@not\_jyc](#):
>
> Touch UBT generated tiles

That [fix](https://github.com/EpicGames/UnrealEngine/commit/8b7b19eeeb7b2637a8eb75caef517154c79463d8) went into the dev-5.8 github repo about 4 days ago, so it should be in the next 5.8 hotfix.

---

<div class="post-metadata">

**Author:** ![shepaldo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shepaldo](https://forums.unrealengine.com/u/shepaldo)\
**Post date:** [September 30, 2026, 12:39pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/20 "2026-09-30T12:39:49Z")

</div>

With some help from Claude, I managed to package for TestFlight with a copy of Xcode 26.6 installed alongside Xcode 27. Download Xcode 26.6 (or I suppose an earlier version which you also got to work) and copy a renamed version (e.g. “Xcode266.app”) to the /Applications folder, and run these 3 commands edited to include your own file paths:

cd “/Users/Shared/Epic Games/UE\_5.8” && UE\_BUILD\_FROM\_XCODE=1 DEVELOPER\_DIR=/Applications/Xcode266.app/Contents/Developer Engine/Binaries/ThirdParty/DotNet/10.0/mac-arm64/dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll YourGame IOS Shipping -Project=/PathToYourGame/YourGame.uproject -remoteini=/PathToYourGame -skipdeploy -distribution

cd “/Users/Shared/Epic Games/UE\_5.8/Engine/Source” && DEVELOPER\_DIR=/Applications/Xcode266.app/Contents/Developer “/Users/Shared/Epic Games/UE\_5.8/Engine/Binaries/ThirdParty/DotNet/10.0/mac-arm64/dotnet” “/Users/Shared/Epic Games/UE\_5.8/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll” -Mode=ApplePostBuildSync -Input=/PathToYourGame/Intermediate/Build/IOS/arm64/YourGame/Shipping/PostBuildSync\_YourGame.json -XmlConfigCache=/PathToYourGame/Intermediate/Build/XmlConfigCache.bin -remoteini=/PathToYourGame

DEVELOPER\_DIR=/Applications/Xcode266.app/Contents/Developer “/Users/Shared/Epic Games/UE\_5.8/Engine/Build/BatchFiles/RunUAT.command” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -project=/PathToYourGame/YourGame.uproject -target=YourGame -unrealexe=“/Users/Shared/Epic Games/UE\_5.8/Engine/Binaries/Mac/UnrealEditor.app/Contents/MacOS/UnrealEditor” -platform=IOS -installed -cook -stage -archive -package -pak -iostore -compressed -prereqs -archivedirectory=/PathToYourGameBuild -distribution -clientconfig=Shipping -nodebuginfo -nocompile -nocompileuat

Where:  
PathToYourGame is where your .uproject file is located  
PathToYourGameBuild is where your build should go (could be the same as PathToYourGame)

Works for me, so I hope that helps you too!

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [October 12, 2026, 8:00pm UTC](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/21 "2026-10-12T20:00:10Z")

</div>

UE-396802 is ‘Closed’ as ‘Fixed’. The issue will be addressed in 5.8.4.
