# IOS打包，PhaseScriptExecution执行失败，ARCHIVE失败 

**URL:** <https://forums.unrealengine.com/t/ios-phasescriptexecution-archive/2874332>\
**Category:** 简体中文 (Simplified Chinese)\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [October 26, 2026, 3:43am UTC](https://forums.unrealengine.com/t/ios-phasescriptexecution-archive/2874332 "2026-10-26T03:43:14Z")\
**Posts on this page:** 2\
**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:** [October 26, 2026, 3:43am UTC](https://forums.unrealengine.com/t/ios-phasescriptexecution-archive/2874332/1 "2026-10-26T03:43:14Z")

</div>

1. 使用Github里的 Unreal Engine 5.8.4 (Source build).
2. 安装 Xcode 26.1.1.
3. 执行 iOS 打包脚本RunUAT.
4. Wait until the Archive phase begins.
5. 看到控制台打印 “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]

---

<div class="post-metadata">

**Author:** ![tuo.chen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tuo.chen](https://forums.unrealengine.com/u/tuo.chen)\
**Post date:** [October 29, 2026, 7:23am UTC](https://forums.unrealengine.com/t/ios-phasescriptexecution-archive/2874332/2 "2026-10-29T07:23:16Z")

</div>

您好，我刚刚用空白工程打包，在stage阶 以及后续的 archive阶段 并没有出现问题，可能是项目设置的问题。请问可以提供一下完整的日志吗，目前的日志不足以分析

[Attachment Removed]
