- 使用Github里的 Unreal Engine 5.8.4 (Source build).
- 安装 Xcode 26.1.1.
- 执行 iOS 打包脚本RunUAT.
- Wait until the Archive phase begins.
- 看到控制台打印 “Copy Executable and Staged Data into .app” PhaseScriptExecution fails.
<br/>
<br/>
Command PhaseScriptExecution failed with a nonzero exit code
** ARCHIVE FAILED **
The following build commands failed:
PhaseScriptExecution Copy\ Executable\ and\ Staged\ Data\ into\ .app /Users/****_builder/Library/Developer/Xcode/DerivedData/*****_IOS_*****-ccboyrvtjsyfcddlxhzvmkljaavc/ArchiveIntermediates/*****/IntermediateBuildFilesPath/*****\ (IOS).build/IOS/*****.build/Script-************************.sh (in target ‘*****’ from project ‘*****(IOS)’)
Archiving workspace *****_IOS_***** with scheme *****
<br/>
(敏感信息被替换成 *****)
<br/>
Build成功,Archive失败。不知道怎么解决,这个在UE5.6没有问题。升级到UE5.8出了问题。
[Attachment Removed]