# Staged Build Directory Invalid, Unable to Build for IOS via Remote Build

**URL:** <https://forums.unrealengine.com/t/staged-build-directory-invalid-unable-to-build-for-ios-via-remote-build/1955252>\
**Category:** Mobile\
**Tags:** unreal-engine, question\
**Created:** [July 30, 2024, 6:53am UTC](https://forums.unrealengine.com/t/staged-build-directory-invalid-unable-to-build-for-ios-via-remote-build/1955252 "2024-07-30T06:53:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![NoahBeggs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NoahBeggs](https://forums.unrealengine.com/u/NoahBeggs)\
**Post date:** [July 31, 2024, 10:33pm UTC](https://forums.unrealengine.com/t/staged-build-directory-invalid-unable-to-build-for-ios-via-remote-build/1955252/2 "2024-07-31T22:33:02Z")

</div>

Found a workaround!

Problem seems to stem from using modern Xcode.

To change this:

1. On your Windows machine, go to your engine install location and find BaseEngine.ini (e.g. “Program Files\Epic Games\UE\_5.4\Engine\Config\BaseEngine.ini”).
2. Open the file, find “[/Script/MacTargetPlatform.XcodeProjectSettings]”, and underneath change “bUseModernXcode=true” to “bUseModernXcode=false”.
3. Save BaseEngine.ini
4. Open your project, package for IOS

Of note, this was the same solution for some other IOS problems during 5.3, see forum post [here](https://forums.unrealengine.com/t/ios-build-for-distribution-in-5-3/1295477)

---

_[View the full topic](https://forums.unrealengine.com/t/staged-build-directory-invalid-unable-to-build-for-ios-via-remote-build/1955252)._
