# \[5.8\]\[Mac\] "Failed to finalize the .app with Xcode" on Xcode 27: xcodebuild started without stdin (Bad file descriptor in "Touch UBT generated tiles")

**URL:** <https://forums.unrealengine.com/t/5-8-mac-failed-to-finalize-the-app-with-xcode-on-xcode-27-xcodebuild-started-without-stdin-bad-file-descriptor-in-touch-ubt-generated-tiles/2839864>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** MAC, unreal-engine\
**Created:** [October 12, 2026, 11:11pm UTC](https://forums.unrealengine.com/t/5-8-mac-failed-to-finalize-the-app-with-xcode-on-xcode-27-xcodebuild-started-without-stdin-bad-file-descriptor-in-touch-ubt-generated-tiles/2839864 "2026-10-12T23:11:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [October 13, 2026, 6:22pm UTC](https://forums.unrealengine.com/t/5-8-mac-failed-to-finalize-the-app-with-xcode-on-xcode-27-xcodebuild-started-without-stdin-bad-file-descriptor-in-touch-ubt-generated-tiles/2839864/2 "2026-10-13T18:22:03Z")

</div>

This is fixed and will be in 5.8.4:

> [@UE5.8 Unable to build Game on macOS 27](https://forums.unrealengine.com/t/ue5-8-unable-to-build-game-on-macos-27/2746676/21):
>
> UE-396802 is ‘Closed’ as ‘Fixed’. The issue will be addressed in 5.8.4.

---

_[View the full topic](https://forums.unrealengine.com/t/5-8-mac-failed-to-finalize-the-app-with-xcode-on-xcode-27-xcodebuild-started-without-stdin-bad-file-descriptor-in-touch-ubt-generated-tiles/2839864)._
