# Unreal Engine 5 iOS Modern Build Resource Copy Issue 

**URL:** <https://forums.unrealengine.com/t/unreal-engine-5-ios-modern-build-resource-copy-issue/2690517>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [December 5, 2025, 5:05am UTC](https://forums.unrealengine.com/t/unreal-engine-5-ios-modern-build-resource-copy-issue/2690517 "2025-12-05T05:05:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [December 5, 2025, 5:05am UTC](https://forums.unrealengine.com/t/unreal-engine-5-ios-modern-build-resource-copy-issue/2690517/1 "2025-12-05T05:05:23Z")

</div>

We have been attempting to adopt the **Modern Build** system introduced in Unreal Engine 5.3. However, we are encountering an issue where our custom **XML/JSON/TXT resource files** are not being copied correctly into the final packaged output.

We currently use a UPL script like the following:

```auto
<?xml version="1.0" encoding="utf-8"?>
<!--GearVR plugin additions-->
<root xmlns:android="http://schemas.android.com/apk/res/android">
    <!-- init section is always evaluated once per architecture -->
    <init>
        <log text="resource init"/>
        <copyDir src="$S(PluginDir)/resource/" dst="$S(BuildDir)/" />
        <log text="IPL resource -> $S(BuildDir) copy done"/>
    </init>
</root>

```

With the **legacy build pipeline** , these resources are correctly included inside the final **.ipa** file.

However, when using the **Modern Build** , the output is an **.xcarchive** , and the behavior changes:

- Legacy structure:
  - .ipa -\> Payload/MyApp.app/…
    - (resources successfully included)

- Modern Build structure:
  - .xcarchive -\> Products/Applications/MyApp.app/… →
    - (no Payload directory)

The UPL command still copies resources to the **legacy BuildDir path** , which no longer maps to the correct application bundle location inside the xcarchive. As a result, none of these text-based resource files are included in the final packaged app.This issue has persisted since **UE 5.3** , and we would like to ask:

1. **Is there a timeline for when this copying behavior will be updated to support the Modern Build pipeline?**
2. **Is there an alternative recommended method to include XML/JSON/TXT resources in the final packaged app when using Modern Build?**

Thank you for your support.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [December 5, 2025, 5:05am UTC](https://forums.unrealengine.com/t/unreal-engine-5-ios-modern-build-resource-copy-issue/2690517/2 "2025-12-05T05:05:27Z")

</div>

**재현 방법**

```auto
Add a script to copy arbitrary resource files after creating the UPL xml file.

```

---

<div class="post-metadata">

**Author:** ![step\_jac\_eg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@step\_jac\_eg](https://forums.unrealengine.com/u/step_jac_eg)\
**Post date:** [December 10, 2025, 12:09am UTC](https://forums.unrealengine.com/t/unreal-engine-5-ios-modern-build-resource-copy-issue/2690517/3 "2025-12-10T00:09:45Z")

</div>

Hi Unreal\_PC\_platform\_client,

Thank you for bringing this issue to our attention. A fix is available at CL [49078003](https://github.com/EpicGames/UnrealEngine/commit/bb4200af2ccab0eddb62c2ecc5ffa7d47ef37423). Note that if backporting to 5.7 or earlier, AppleExports.CreatingAppOnWindows translates to !AppleExports.UseModernXcode.

Best regards.
