iOS remote build failing (IPP ERROR: RPCCommand Zip failed)

Hello There!

I am trying to build the Handheld AR Template in 4.19 for an iPad from a Win 10 Workstation. (Blueprint Version, Binary Engine, not source compiled). It was insisting on remote building so I set up a mac mini to the remote build machine and it seemed to work.

No issues connecting, nothing wrong with provisioning. It says *Build succeeded and finishes creating the .app directory on the Mac.

Then it starts zipping … until this happens

Finished creating .app directory on Mac (took 19.35 s)
UATHelper: Packaging (iOS):    ... zipping
UATHelper: Packaging (iOS):    ... working folder: "/Users/kyrosdev/UE4/Builds/DESKTOP-1EI55KL/D/Projects/Unreal Projects/AR_Test_19/Binaries/IOS"
UATHelper: Packaging (iOS):    ... zip -q -r -y -0 -T AR_Test_19.ipa Payload iTunesArtwork -x Payload/AR_Test_19.app.dSYM/ -x Payload/AR_Test_19.app.dSYM/* -x Payload/AR_Test_19.app.dSYM/Contents/ -x Payload/AR_Test_19.app.dSYM/Contents/* -x Payload/AR_Test_19.app.dSYM/Contents/Resources/ -x Payload/AR_Test_19.app.dSYM/Contents/Resources/*  -x Payload/AR_Tes
t_19.app.dSYM/Contents/Resources/DWARF/ -x Payload/AR_Test_19.app.dSYM/Contents/Resources/DWARF/*
UATHelper: Packaging (iOS):    ... full command: 192.168.0.101 "/Users/kyrosdev/UE4/Builds/DESKTOP-1EI55KL/D/Projects/Unreal Projects/AR_Test_19/Binaries/IOS" zip -q -r -y -0 -T AR_Test_19.ipa Payload iTunesArtwork -x Payload/AR_Test_19.app.dSYM/ -x Payload/AR_Test_19.app.dSYM/* -x Payload/AR_Test_19.app.dSYM/Contents/ -x Payload/AR_Test_19.app.dSYM/Contents
/* -x Payload/AR_Test_19.app.dSYM/Contents/Resources/ -x Payload/AR_Test_19.app.dSYM/Contents/Resources/*  -x Payload/AR_Test_19.app.dSYM/Contents/Resources/DWARF/ -x Payload/AR_Test_19.app.dSYM/Contents/Resources/DWARF/*
UATHelper: Packaging (iOS):   Running SSH on 192.168.0.101 ...
zsh:1: no matches found: Payload/AR_Test_19.app.dSYM/*
    UATHelper: Packaging (iOS):   Execute took 00:00:00.2556819
    UATHelper: Packaging (iOS):   IPP ERROR: RPCCommand Zip failed with return code Error_Unknown
    UATHelper: Packaging (iOS):   IPP WARNING: Error in previous command; suppressing: GetStubIPA
    UATHelper: Packaging (iOS):   Finished packaging into IPA (took 0.26 s)
    PackagingResults: Error: RPCCommand Zip failed with return code Error_Unknown
    PackagingResults: Warning: Error in previous command; suppressing: GetStubIPA
    UATHelper: Packaging (iOS):   ERROR: System.Exception: IPP ERROR: RPCCommand Zip failed with return code Error_Unknown
    UATHelper: Packaging (iOS):             at UnrealBuildTool.IOSToolChain.PostBuildSync(UEBuildTarget Target)
    UATHelper: Packaging (iOS):             at UnrealBuildTool.IOSPlatform.PostBuildSync(UEBuildTarget Target)
    UATHelper: Packaging (iOS):             at UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String[] Arguments, FileReference ProjectFile, Boolean bCatchExceptions)
    UATHelper: Packaging (iOS):   Total build time: 109.93 seconds (NoActionsToExecute executor: 0.00 seconds)
    UATHelper: Packaging (iOS): Took 110.144772s to run UnrealBuildTool.exe, ExitCode=1

Full UAT Log Here:pastebin

Any help in resolving this is greatly appreciated!

Also, seeing that the build has finished successfully and the .app folder created, is there any other way to finish the packaging process?

Thanks for reading!

I am having exactly the same issue using Unreal Engine 4.20 built from source. I will let you know if I find a solution.

You can’t use zsh as the default shell on your build machine, switch it to bash and it will work right away. I just spent like a day trying to figure this out :confused: At least I found a solution eventually.