Summary
After upgrading to Xcode 26.1.1, Unreal Engine 5.8.1 is unable to archive an iOS project.
The project builds successfully, links successfully, and the application is staged correctly. The failure only occurs during the Xcode Archive phase in the generated “Copy Executable and Staged Data into .app” build script.
The generated script attempts to copy staged files into:
/ArchiveIntermediates//BuildProductsPath/IOS/-IOS-Shipping.app
However, the destination is not treated as a directory and the script fails with:
cp: -IOS-Shipping.app: Not a directory
Command PhaseScriptExecution failed with a nonzero exit code
As a result, Xcode fails to create the .xcarchive and Unreal reports:
Unable to find a .xcarchive in Xcode’s Library
This issue is reproducible after cleaning DerivedData, Intermediate, Binaries and Saved folders.
The project packages correctly up to the staging step. The failure only occurs during the Archive step.
What Type of Bug are you experiencing?
Platform Mobile
Steps to Reproduce
- Install Unreal Engine 5.8.1 (Launcher build).
- Install Xcode 26.1.1.
- Open any iOS project.
- Package/Archive for iOS.
- Wait until the Archive phase begins.
- Observe that the “Copy Executable and Staged Data into .app” PhaseScriptExecution fails.
Expected Result
The generated Xcode project should successfully create an .xcarchive and Unreal should continue packaging normally.
Observed Result
Archive fails during PhaseScriptExecution with:
cp: -IOS-Shipping.app: Not a directory
No .xcarchive is generated.
Affects Versions
5.8
Platform(s)
iOS