Remote build of iOS Error

I receive this error when trying to generate SSH key for iOS remote build. I’m running the latest version of windows 10.



1 [main] rsync 12132 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
/DeltaCopy/ssh.exe: error while loading shared libraries: cyggssapi-3.dll: cannot open shared object file: No such file or directory
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/io.c(605) [Receiver=3.0.9]


Has anyone encountered this issue? Or have a fix for it?

Thanks!

I fixed the issue above by simply removing the DeltaCopy directory. It is now included in the engine.

But now I’m receiving this error:



@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
UATHelper: Packaging (iOS): UnrealBuildTool: @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
UATHelper: Packaging (iOS): UnrealBuildTool: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
UATHelper: Packaging (iOS): UnrealBuildTool: Permissions 0660 for '/cygdrive/C/Users//AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/10.0.0.136//RemoteToolChainPrivate.key' are too open.
UATHelper: Packaging (iOS): UnrealBuildTool: It is recommended that your private key files are NOT accessible by others.
UATHelper: Packaging (iOS): UnrealBuildTool: This private key will be ignored.
UATHelper: Packaging (iOS): UnrealBuildTool: bad permissions: ignore key: /cygdrive/C/Users//AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/10.0.0.136//RemoteToolChainPrivate.key
UATHelper: Packaging (iOS): UnrealBuildTool: Permission denied (publickey,password,keyboard-interactive).
UATHelper: Packaging (iOS): UnrealBuildTool: Failed to initialize a connection to the Remote Server 10.0.0.136
UATHelper: Packaging (iOS): UnrealBuildTool: Doing xcode-select --print-path
UATHelper: Packaging (iOS): UnrealBuildTool: Execute took 00:00:00.1945239
UATHelper: Packaging (iOS): UnrealBuildTool: Compiling with non-standard Xcode (xcode-select): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
UATHelper: Packaging (iOS): UnrealBuildTool: @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
UATHelper: Packaging (iOS): UnrealBuildTool: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
UATHelper: Packaging (iOS): UnrealBuildTool: Permissions 0660 for '/cygdrive/C/Users//AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/10.0.0.136//RemoteToolChainPrivate.key' are too open.
UATHelper: Packaging (iOS): UnrealBuildTool: It is recommended that your private key files are NOT accessible by others.
UATHelper: Packaging (iOS): UnrealBuildTool: This private key will be ignored.
UATHelper: Packaging (iOS): UnrealBuildTool: bad permissions: ignore key: /cygdrive/C/Users//AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/10.0.0.136//RemoteToolChainPrivate.key
UATHelper: Packaging (iOS): UnrealBuildTool: Permission denied (publickey,password,keyboard-interactive)./
UATHelper: Packaging (iOS): UnrealBuildTool: Doing ls @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
UATHelper: Packaging (iOS): UnrealBuildTool: @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
UATHelper: Packaging (iOS): UnrealBuildTool: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
UATHelper: Packaging (iOS): UnrealBuildTool: Permissions 0660 for '/cygdrive/C/Users//AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/10.0.0.136//RemoteToolChainPrivate.key' are too open.
UATHelper: Packaging (iOS): UnrealBuildTool: It is recommended that your private key files are NOT accessible by others.
UATHelper: Packaging (iOS): UnrealBuildTool: This private key will be ignored.
UATHelper: Packaging (iOS): UnrealBuildTool: bad permissions: ignore key: /cygdrive/C/Users//AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/10.0.0.136//RemoteToolChainPrivate.key
UATHelper: Packaging (iOS): UnrealBuildTool: Permission denied (publickey,password,keyboard-interactive)./Platforms/iPhoneOS.platform/Developer/SDKs
UATHelper: Packaging (iOS): UnrealBuildTool: Execute took 00:00:00.1780224
UATHelper: Packaging (iOS): UnrealBuildTool: Compiling with iPhoneOS SDK  on Mac 10.0.0.136


Fixed that issue…

Fixed a few more errors after that and now I’m stuck on this error…

Hmmm…

Maybe do what logs suggest…

Open Engine/Config/ConsoleVariables.ini

and add line:


r.ShaderDevelopmentMode=1

Ah, I did but… I changed the wrong ConsoleVariables.ini …

That now results in this error…
MetalShader.png



UATHelper: Packaging (iOS): Cook: LogShaders: Warning:     Empty global shader map, recompiling all global shaders
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: 0 Shader compiler errors compiling global shaders for platform SF_METAL:
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: 0 Shader compiler errors compiling VRTextMaterial for platform SF_METAL:
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: 0 Shader compiler errors compiling LaserPointerMaterial for platform SF_METAL:
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: 0 Shader compiler errors compiling Widget3DPassThrough for platform SF_METAL:
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: 0 Shader compiler errors compiling Widget3DPassThrough for platform SF_METAL:
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: 0 Shader compiler errors compiling Widget3DPassThrough for platform SF_METAL:
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: 0 Shader compiler errors compiling Widget3DPassThrough for platform SF_METAL:
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: 0 Shader compiler errors compiling Widget3DPassThrough for platform SF_METAL:
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: 0 Shader compiler errors compiling Widget3DPassThrough for platform SF_METAL:
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: 0 Shader compiler errors compiling global shaders for platform SF_METAL:
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: Failed to compile Material /Engine/VREditor/Fonts/VRTextMaterial.VRTextMaterial for platform SF_METAL, Default Material will be used in game.
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: Failed to compile Material /Engine/VREditor/LaserPointer/LaserPointerMaterial.LaserPointerMaterial for platform SF_METAL, Default Material will be used in game.
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: Failed to compile Material /Engine/EngineMaterials/Widget3DPassThrough.Widget3DPassThrough for platform SF_METAL, Default Material will be used in game.
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: Failed to compile Material /Engine/EngineMaterials/Widget3DPassThrough.Widget3DPassThrough for platform SF_METAL, Default Material will be used in game.
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: Failed to compile Material /Engine/EngineMaterials/Widget3DPassThrough.Widget3DPassThrough for platform SF_METAL, Default Material will be used in game.
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: Failed to compile Material /Engine/EngineMaterials/Widget3DPassThrough.Widget3DPassThrough for platform SF_METAL, Default Material will be used in game.
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: Failed to compile Material /Engine/EngineMaterials/Widget3DPassThrough.Widget3DPassThrough for platform SF_METAL, Default Material will be used in game.
UATHelper: Packaging (iOS): Cook: LogShaderCompilers: Warning: Failed to compile Material /Engine/EngineMaterials/Widget3DPassThrough.Widget3DPassThrough for platform SF_METAL, Default Material will be used in game.
UATHelper: Packaging (iOS): Cook: LogShaders: Warning: Compiled 314 global shaders
UATHelper: Packaging (iOS): Cook: LogWindows: Error: begin: stack for UAT
UATHelper: Packaging (iOS): Cook: LogWindows: Error: === Critical error: ===
UATHelper: Packaging (iOS): Cook: LogWindows: Error: 
UATHelper: Packaging (iOS): Cook: LogWindows: Error: Fatal error: [File:D:\Build\++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 4544] 
UATHelper: Packaging (iOS): Cook: LogWindows: Error: Failed to compile global shader TSlateElementPSFonttruetrueA  .  Enable 'r.ShaderDevelopmentMode' in ConsoleVariables.ini for retries.
UATHelper: Packaging (iOS): Cook: LogWindows: Error: 
UATHelper: Packaging (iOS): Cook: LogWindows: Error: 
UATHelper: Packaging (iOS): Cook: LogWindows: Error: KERNELBASE.dll!0x0000000039334008
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-Core.dll!0x00000000DE4C1CE4
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-Core.dll!0x00000000DE2AAD5B
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-Core.dll!0x00000000DE240179
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-Engine.dll!0x00000000D096EB35
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-Engine.dll!0x00000000D096DDF0
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-Engine.dll!0x00000000D09700A1
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-Engine.dll!0x00000000D096D9AC
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-Engine.dll!0x00000000D0975F42
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-UnrealEd.dll!0x00000000CE4223A1
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-UnrealEd.dll!0x00000000CE427572
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-UnrealEd.dll!0x00000000CE2CE19C
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-UnrealEd.dll!0x00000000CE2F36E1
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-Cmd.exe!0x00000000FD51B53F
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-Cmd.exe!0x00000000FD51379A
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-Cmd.exe!0x00000000FD5139EA
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-Cmd.exe!0x00000000FD5202D9
UATHelper: Packaging (iOS): Cook: LogWindows: Error: UE4Editor-Cmd.exe!0x00000000FD521083
UATHelper: Packaging (iOS): Cook: LogWindows: Error: KERNEL32.DLL!0x000000003B961FE4
UATHelper: Packaging (iOS): Cook: LogWindows: Error: ntdll.dll!0x000000003CDBEFC1
UATHelper: Packaging (iOS): Cook: LogWindows: Error: ntdll.dll!0x000000003CDBEFC1
UATHelper: Packaging (iOS): Cook: LogWindows: Error: 
UATHelper: Packaging (iOS): Cook: LogWindows: Error: end: stack for UAT


I’m pretty much stuck on this one. There doesn’t seem to be anything around the web with anyone experiencing a similar issue. Any insight or ideas anyone can provide would be a life saver!

Hi, I moved the generated .key file from the default save location to c:\ but i’m still setting the **Permission denied (publickey,password,keyboard-interactive) **error


UATHelper: Packaging (iOS): Project.Build: ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (iOS): CommandUtils.Run: Run: C:\Program Files\Epic Games\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe ARSample IOS Development -Project="C:\Users\AsusLaptop\Documents\Unreal Projects\ARSample\ARSample.uproject"  "C:\Users\AsusLaptop\Documents\Unreal Projects\ARSample\ARSample.uproject"  -remoteini="C:\Users\AsusLaptop\Documents\Un
real Projects\ARSample" -noxge -generatemanifest -NoHotReload
UATHelper: Packaging (iOS): UnrealBuildTool: Picking the default remote server 192.168.1.62
UATHelper: Packaging (iOS): UnrealBuildTool: Doing date +"%s" && sysctl hw.memsize | awk '{print $2}' && sysctl hw.logicalcpu | awk '{print $2}'
UATHelper: Packaging (iOS): UnrealBuildTool: Execute took 00:00:00.3731087
UATHelper: Packaging (iOS): UnrealBuildTool: Failed to run init commands on 192.168.1.62. Output = Permission denied (publickey,password,keyboard-interactive).
UATHelper: Packaging (iOS): UnrealBuildTool: Failed to initialize a connection to the Remote Server 192.168.1.62
UATHelper: Packaging (iOS): UnrealBuildTool: Doing xcode-select --print-path
UATHelper: Packaging (iOS): UnrealBuildTool: Execute took 00:00:00.2628605
UATHelper: Packaging (iOS): UnrealBuildTool: Compiling with non-standard Xcode (xcode-select): Permission denied (publickey,password,keyboard-interactive)./
UATHelper: Packaging (iOS): UnrealBuildTool: Doing ls Permission denied (publickey,password,keyboard-interactive)./Platforms/iPhoneOS.platform/Developer/SDKs
UATHelper: Packaging (iOS): UnrealBuildTool: Execute took 00:00:00.2888318
UATHelper: Packaging (iOS): UnrealBuildTool: Compiling with iPhoneOS SDK  on Mac 192.168.1.62
UATHelper: Packaging (iOS): UnrealBuildTool: ERROR: System.FormatException: Input string was not in a correct format.
UATHelper: Packaging (iOS): UnrealBuildTool:    at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
UATHelper: Packaging (iOS): UnrealBuildTool:    at System.Single.Parse(String s, IFormatProvider provider)
UATHelper: Packaging (iOS): UnrealBuildTool:    at UnrealBuildTool.IOSToolChain.SetupXcodePaths(Boolean bVerbose)
UATHelper: Packaging (iOS): UnrealBuildTool:    at UnrealBuildTool.IOSToolChain.SetUpGlobalEnvironment()
UATHelper: Packaging (iOS): UnrealBuildTool:    at UnrealBuildTool.UEBuildTarget.SetupGlobalEnvironment(UEToolChain ToolChain)
UATHelper: Packaging (iOS): UnrealBuildTool:    at UnrealBuildTool.UEBuildTarget.PreBuildSetup(UEToolChain TargetToolChain)
UATHelper: Packaging (iOS): UnrealBuildTool:    at UnrealBuildTool.UEBuildTarget.Build(UEToolChain TargetToolChain, List`1& OutputItems, List`1& UObjectModules, ActionGraph ActionGraph)
UATHelper: Packaging (iOS): UnrealBuildTool:    at UnrealBuildTool.UnrealBuildTool.RunUBT(String] Arguments, FileReference ProjectFile)
UATHelper: Packaging (iOS): CommandUtils.Run: Run: Took 2.0677228s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (iOS): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\Epic Games\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe ARSample IOS Development -Project="C:\Users\AsusLaptop\Documents\Unreal Projects\ARSample\ARSample.uproject"  "
C:\Users\AsusLaptop\Documents\Unreal Projects\ARSample\ARSample.uproject"  -remoteini="C:\Users\AsusLaptop\Documents\Unreal Projects\ARSample" -noxge -generatemanifest -NoHotReload. See logfile for details: 'UnrealBuildTool-2019.01.16-17.29.47.txt' 
UATHelper: Packaging (iOS):    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (iOS):    at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (iOS):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
UATHelper: Packaging (iOS):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
UATHelper: Packaging (iOS):    at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars)
UATHelper: Packaging (iOS):    at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictionary`2 InTarg
etToManifest)
UATHelper: Packaging (iOS):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
UATHelper: Packaging (iOS):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (iOS):    at BuildCookRun.ExecuteBuild()
UATHelper: Packaging (iOS):    at AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (iOS):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (iOS):    at AutomationTool.Automation.Process(String] Arguments)
UATHelper: Packaging (iOS):    at AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (iOS):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (iOS):    at AutomationTool.Program.Main()
UATHelper: Packaging (iOS): Program.Main: AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (iOS): BUILD FAILED
PackagingResults:Error: Error Unknown Error

Can anyone help me?

thank you!

Hi, I have the same issue:

Failed to compile Material for platform SF_METAL, Default Material will be used in game.

Have you solved it? Can anyone help me? Thank you so much!

if you haven’t figured this out, go into the starter content folder and delete that file