[Remote] Executing build
UATHelper: 打包 (IOS): Setting up bundled DotNet SDK
UATHelper: 打包 (IOS): /Users/zyh/UE5/Builds/DESKTOP-FKKSVFQ/Y/UE/UE_5.2/Engine/Build/BatchFiles/Mac/../../../Binaries/ThirdParty/DotNet/6.0.302/mac-x64
UATHelper: 打包 (IOS): Running dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll ShifuIos IOS Shipping -SkipRulesCompile -XmlConfigCache=/Users/zyh/UE5/Builds/DESKTOP-FKKSVFQ/C/Users/1/AppData/Local/UnrealEngine/XmlConfigCache-Y+UE+UE_5.2.bin -remoteini=/Users/zyh/UE5/Builds/DESKTOP-FKKSVFQ/Y/YSP/UE_project/ShifuIos -Project=/Users/zyh/UE5/Builds/DESKTOP-FKKSVFQ/Y/YSP/UE_project/ShifuIos/ShifuIos.uproject -skipdeploy -distribution -Log=/Users/zyh/UE5/Builds/DESKTOP-FKKSVFQ/C/Users/1/AppData/Roaming/Unreal_Engine/AutomationTool/Logs/Y+UE+UE_5.2/UBT-ShifuIos-IOS-Shipping_Remote.t
xt -Manifest=/Users/zyh/UE5/Builds/DESKTOP-FKKSVFQ/Y/YSP/UE_project/ShifuIos/Intermediate/Remote/ShifuIos/IOS/Shipping/Manifest.xml -SkipPreBuildTargets -CreateStub -NoUBTMakefiles -ImportProvision=/Users/zyh/UE5/Builds/DESKTOP-FKKSVFQ/Y/YSP/UE_project/ShifuIos/Intermediate/Remote/ShifuIos/IOS/Shipping/ShifuDistribution.mobileprovision -ImportCertificate=/Users/zyh/UE5/Builds/DESKTOP-FKKSVFQ/Y/YSP/UE_project/ShifuIos/Intermediate/Remote/ShifuIos/IOS/Shipping/Certificate.p12 -ImportCertificatePassword=A
UATHelper: 打包 (IOS): Log file: C:\Users\1\AppData\Roaming\Unreal Engine\AutomationTool\Logs\Y+UE+UE_5.2\UBT-ShifuIos-IOS-Shipping_Remote.txt
UATHelper: 打包 (IOS): Precompiled rules assembly '/Users/zyh/Library/Application Support/Epic/UnrealEngine/Intermediate/Build/BuildRules/MarketplaceRules.dll' does not exist.
UATHelper: 打包 (IOS): [Remote] Downloading C:\Users\1\AppData\Roaming\Unreal Engine\AutomationTool\Logs\Y+UE+UE_5.2\UBT-ShifuIos-IOS-Shipping_Remote.txt
UATHelper: 打包 (IOS): Total execution time: 16.70 seconds
UATHelper: 打包 (IOS): Took 16.783206699999997s to run dotnet.exe, ExitCode=9
UATHelper: 打包 (IOS): UnrealBuildTool failed. See log for more details. (C:\Users\1\AppData\Roaming\Unreal Engine\AutomationTool\Logs\Y+UE+UE_5.2\UBT-ShifuIos-IOS-Shipping.txt)
UATHelper: 打包 (IOS): AutomationTool executed for 0h 0m 18s
UATHelper: 打包 (IOS): AutomationTool exiting with ExitCode=9 (9)
关键是这一句
UATHelper: 打包 (IOS): Precompiled rules assembly '/Users/zyh/Library/Application Support/Epic/UnrealEngine/Intermediate/Build/BuildRules/MarketplaceRules.dll' does not exist.
这就是远端的IOS设备上没有这个MarketplaceRules.dll 文件
MAC 在用户名下的文件夹里的资源库 /Users/ userName /Library/Application Support/Epic/UnrealEngine/Intermediate/Build/BuildRules/
文件在Windows下的C:\Users\1\AppData\Local\UnrealEngine\Intermediate\Build\BuildRules
路径下 复制到mac上 就可以打包了