[2026.07.06-00.06.32:663][539]UATHelper: Packaging (IOS): Copying executable and any standalone dylibs into /Users/build/Library/Developer/Xcode/DerivedData/EmptyProject_IOS_EmptyProject-gdvqfyksxoxhubhioozuphcorxvg/ArchiveIntermediates/EmptyProject/BuildProductsPath/IOS/EmptyProject-IOS-Shipping.app but do not overwrite unless src is newer
[2026.07.06-00.06.32:663][539]UATHelper: Packaging (IOS): Syncing /Volumes/Build/Work/UE5/Redpoint/CustomerRepro/EmptyProject/Saved/StagedBuilds/IOS/uecommandline.txt to /Users/build/Library/Developer/Xcode/DerivedData/EmptyProject_IOS_EmptyProject-gdvqfyksxoxhubhioozuphcorxvg/ArchiveIntermediates/EmptyProject/BuildProductsPath/IOS/EmptyProject-IOS-Shipping.app
[2026.07.06-00.06.32:663][539]UATHelper: Packaging (IOS): cp: /Users/build/Library/Developer/Xcode/DerivedData/EmptyProject_IOS_EmptyProject-gdvqfyksxoxhubhioozuphcorxvg/ArchiveIntermediates/EmptyProject/BuildProductsPath/IOS/EmptyProject-IOS-Shipping.app: Not a directory
[2026.07.06-00.06.32:663][539]UATHelper: Packaging (IOS): Command PhaseScriptExecution failed with a nonzero exit code
```
This is packaging with:
Xcode 26.0.0
macOS 15.7.7
UE 5.8
I suspect this might not happen on Xcode 16, though I haven’t gone back and explicitly tested Xcode 16 again. However, Apple requires iOS applications to be built with Xcode 26 now in order to pass submission requirements so we need packaging to work under Xcode 26.
I am not seeing the issue on this end. Can you confirm that you have set the build configuration to Shipping (Platforms -> Package -> Shipping) as well as setting the Project setting ‘For Distribution’?
Can you confirm if the issue occurs for you in a Launcher install of 5.8? On this end, launcher also worked as expected, though on latest Xcode (26.6). Though unlikely the cause of your issue, the recommended Xcode version for 5.8 is 26.1.1.
Someone else running into this problem mentioned that it might be a case sensitivity issue:
> There was an ios/IOS case difference in the PLCrashReporter and Ogg folders. Fixed it manually and the build progressed. Checked the Mac’s case sensitivity too.
It should be noted that our engine install/projects are on an external NVMe drive (mounted as “Build”), not the internal macOS drive.
UE does indeed require that both editor and projects live on a case insensitive partition (Standard APFS). Case sensitive partition will trigger a variety of errors.
For good measure, I did a fresh source build of UE 5.8.0 and was able to package a distribution build of EmptyProject out of the box.
Can you confirm the contents of /Users/build/Library/Developer/Xcode/DerivedData/EmptyProject_IOS_EmptyProject-gdvqfyksxoxhubhioozuphcorxvg/ArchiveIntermediates/EmptyProject/BuildProductsPath/IOS/ when the failure occurs?
UATHelper: Error: Packaging (IOS): System.IO.DirectoryNotFoundException: Could not find a part of the path ‘/Users/build/Library/Developer/Xcode/Archives’.
is puzzling and seems it may be the cause. Does that path exist if you try to
open /Users/build/Library/Developer/Xcode/Archivesfrom Terminal?
Apologies for the tardy response and the lengthy back and forth..
It turns out that this is an issue with the behaviour of the cp -R command against a destination symbolic link on Mac OS 15. The issue can be resolved by upgrading to Mac OS 26. Alternatively, you can edit Engine/Source/Programs/UnrealBuildTool/ProjectFiles/Xcode/XcodeProject.cs replacing:
I can confirm that Shipping is selected and I can still reproduce the error. See https://youtu.be/\-gKoAu6UzoU for a video recording of the project settings and subsequent packaging failure.
Apologies for the delay replying here. I was able to reproduce this on 26.1.1 using the same engine version from source control. I have not tried the launcher install yet. Please see attached for the logs from a 26.1.1 Xcode (ignore the path that says 26.1.0 - it is indeed 26.1.1 but the folder name is incorrect due to the way our scripts handle patch numbers when installing Xcode).
> No, I was only able to bypass the case-sensitivity issue in the PLCrashReporter and Ogg directories. I can’t do anything about the PhaseScriptExecution error. When the packaging starts, everything goes back to how it was and it fails to work. So no, I couldn’t fix it.