LogPlayLevel: Completed Launch On Stage: Cooking in the editor, Time: 0.300808
LogPlayLevel: Running AutomationTool…
LogPlayLevel: Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=“C:/Users/erickjlee/Documents/Unreal Projects/nadonmana/nadonmana.uproject” BuildCookRun -project=“C:/Users/erickjlee/Documents/Unreal Projects/nadonmana/nadonmana.uproject” -noP4 -clientconfig=Development -serverconfig=Development -nocompile -nocompileeditor -installed -ue4e
xe=UE4Editor-Cmd.exe -utf8output -platform=IOS -build -map=/Game/PuzzleCPP/Maps/PuzzleExampleMap -skipcook -CookInEditor -iterativecooking -compressed -iterativedeploy -stage -deploy -cmdline="/Game/PuzzleCPP/Maps/PuzzleExampleMap -Messaging" -device=IOS@All_iOS_On_DESKTOP-75LJC5R -addcmdline="-SessionId=9B735ED342AFD0F5840FF791BE83CDE2 -SessionOwner=‘erickj
lee’ -SessionName=‘Launch On Device’ " -run
LogPlayLevel: BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\erickjlee\Documents\Unreal Projects\nadonmana\nadonmana.uproject
LogPlayLevel: Project.Build: ********** BUILD COMMAND STARTED **********
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 0.751475
LogPlayLevel: CommandUtils.Run: Run: C:\Program Files\Epic Games\UE_4.17\Engine\Binaries\DotNET\UnrealBuildTool.exe nadonmana IOS Development -Project=“C:\Users\erickjlee\Documents\Unreal Projects\nadonmana\nadonmana.uproject” “C:\Users\erickjlee\Documents\Unreal Projects\nadonmana\nadonmana.uproject” -NoUBTMakefiles -remoteini=“C:\Users\erickjlee\Document
s\Unreal Projects\nadonmana” -skipdeploy -noxge -generatemanifest -NoHotReload
LogPlayLevel: UnrealBuildTool: C:\Users\erickjlee\Documents\Unreal Projects\nadonmana\Plugins\AdCollection\Source\AdCollection\AdCollection.Build.cs: warning: Module constructors should take a ReadOnlyTargetRules argument (rather than a TargetInfo argument) and pass it to the base class constructor from 4.15 onwards. Please update the method signature.
LogPlayLevel: UnrealBuildTool: C:\Users\erickjlee\Documents\Unreal Projects\nadonmana\Plugins\AdCollection\Source\AdCollectionEditor\AdCollectionEditor.Build.cs: warning: Module constructors should take a ReadOnlyTargetRules argument (rather than a TargetInfo argument) and pass it to the base class constructor from 4.15 onwards. Please update the method sign
ature.
LogPlayLevel: UnrealBuildTool: C:\Users\erickjlee\Documents\Unreal Projects\nadonmana\Plugins\AdCollection\Source\AdMob\AdMob.Build.cs: warning: Module constructors should take a ReadOnlyTargetRules argument (rather than a TargetInfo argument) and pass it to the base class constructor from 4.15 onwards. Please update the method signature.
LogPlayLevel: UnrealBuildTool: Picking the default remote server 192.168.0.24
LogPlayLevel: UnrealBuildTool: Doing date +"%s" && sysctl hw.memsize | awk ‘{print $2}’ && sysctl hw.logicalcpu | awk ‘{print $2}’
LogPlayLevel: UnrealBuildTool: Execute took 00:00:00.1764698
LogPlayLevel: UnrealBuildTool: Failed to run init commands on 192.168.0.24. Output = @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
LogPlayLevel: UnrealBuildTool: @ WARNING: UNPROTECTED PRIVATE KEY FILE! @
LogPlayLevel: UnrealBuildTool: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
LogPlayLevel: UnrealBuildTool: Permissions 0660 for ‘/cygdrive/C/Users/erickjlee/AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/192.168.0.24/kyeongjunlee/RemoteToolChainPrivate.key’ are too open.
LogPlayLevel: UnrealBuildTool: It is recommended that your private key files are NOT accessible by others.
LogPlayLevel: UnrealBuildTool: This private key will be ignored.
LogPlayLevel: UnrealBuildTool: bad permissions: ignore key: /cygdrive/C/Users/erickjlee/AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/192.168.0.24/kyeongjunlee/RemoteToolChainPrivate.key
LogPlayLevel: UnrealBuildTool: Permission denied (publickey,password,keyboard-interactive).
LogPlayLevel: UnrealBuildTool: Failed to initialize a connection to the Remote Server 192.168.0.24
LogPlayLevel: CommandUtils.Run: Run: Took 0.9304757s to run UnrealBuildTool.exe, ExitCode=0
LogPlayLevel: CommandUtils.Run: Run: C:\Program Files\Epic Games\UE_4.17\Engine\Binaries\DotNET\UnrealBuildTool.exe nadonmana IOS Development -Project=“C:\Users\erickjlee\Documents\Unreal Projects\nadonmana\nadonmana.uproject” “C:\Users\erickjlee\Documents\Unreal Projects\nadonmana\nadonmana.uproject” -NoUBTMakefiles -remoteini=“C:\Users\erickjlee\Document
s\Unreal Projects\nadonmana” -skipdeploy -noxge -NoHotReload -ignorejunk
LogPlayLevel: UnrealBuildTool: C:\Users\erickjlee\Documents\Unreal Projects\nadonmana\Plugins\AdCollection\Source\AdCollection\AdCollection.Build.cs: warning: Module constructors should take a ReadOnlyTargetRules argument (rather than a TargetInfo argument) and pass it to the base class constructor from 4.15 onwards. Please update the method signature.
LogPlayLevel: UnrealBuildTool: C:\Users\erickjlee\Documents\Unreal Projects\nadonmana\Plugins\AdCollection\Source\AdCollectionEditor\AdCollectionEditor.Build.cs: warning: Module constructors should take a ReadOnlyTargetRules argument (rather than a TargetInfo argument) and pass it to the base class constructor from 4.15 onwards. Please update the method sign
ature.
LogPlayLevel: UnrealBuildTool: C:\Users\erickjlee\Documents\Unreal Projects\nadonmana\Plugins\AdCollection\Source\AdMob\AdMob.Build.cs: warning: Module constructors should take a ReadOnlyTargetRules argument (rather than a TargetInfo argument) and pass it to the base class constructor from 4.15 onwards. Please update the method signature.
LogPlayLevel: UnrealBuildTool: Picking the default remote server 192.168.0.24
LogPlayLevel: UnrealBuildTool: Doing date +"%s" && sysctl hw.memsize | awk ‘{print $2}’ && sysctl hw.logicalcpu | awk ‘{print $2}’
LogPlayLevel: UnrealBuildTool: Execute took 00:00:00.1844907
LogPlayLevel: UnrealBuildTool: Failed to run init commands on 192.168.0.24. Output = @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
LogPlayLevel: UnrealBuildTool: @ WARNING: UNPROTECTED PRIVATE KEY FILE! @
LogPlayLevel: UnrealBuildTool: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
LogPlayLevel: UnrealBuildTool: Permissions 0660 for ‘/cygdrive/C/Users/erickjlee/AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/192.168.0.24/kyeongjunlee/RemoteToolChainPrivate.key’ are too open.
LogPlayLevel: UnrealBuildTool: It is recommended that your private key files are NOT accessible by others.
LogPlayLevel: UnrealBuildTool: This private key will be ignored.
LogPlayLevel: UnrealBuildTool: bad permissions: ignore key: /cygdrive/C/Users/erickjlee/AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/192.168.0.24/kyeongjunlee/RemoteToolChainPrivate.key
LogPlayLevel: UnrealBuildTool: Permission denied (publickey,password,keyboard-interactive).
LogPlayLevel: UnrealBuildTool: Failed to initialize a connection to the Remote Server 192.168.0.24
LogPlayLevel: UnrealBuildTool: Doing xcode-select --print-path
LogPlayLevel: UnrealBuildTool: Execute took 00:00:00.2857596
LogPlayLevel: UnrealBuildTool: Compiling with non-standard Xcode (xcode-select): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
LogPlayLevel: UnrealBuildTool: @ WARNING: UNPROTECTED PRIVATE KEY FILE! @
LogPlayLevel: UnrealBuildTool: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
LogPlayLevel: UnrealBuildTool: Permissions 0660 for ‘/cygdrive/C/Users/erickjlee/AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/192.168.0.24/kyeongjunlee/RemoteToolChainPrivate.key’ are too open.
LogPlayLevel: UnrealBuildTool: It is recommended that your private key files are NOT accessible by others.
LogPlayLevel: UnrealBuildTool: This private key will be ignored.
LogPlayLevel: UnrealBuildTool: bad permissions: ignore key: /cygdrive/C/Users/erickjlee/AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/192.168.0.24/kyeongjunlee/RemoteToolChainPrivate.key
LogPlayLevel: UnrealBuildTool: Permission denied (publickey,password,keyboard-interactive)./
LogPlayLevel: UnrealBuildTool: Doing ls @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
LogPlayLevel: UnrealBuildTool: @ WARNING: UNPROTECTED PRIVATE KEY FILE! @
LogPlayLevel: UnrealBuildTool: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
LogPlayLevel: UnrealBuildTool: Permissions 0660 for ‘/cygdrive/C/Users/erickjlee/AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/192.168.0.24/kyeongjunlee/RemoteToolChainPrivate.key’ are too open.
LogPlayLevel: UnrealBuildTool: It is recommended that your private key files are NOT accessible by others.
LogPlayLevel: UnrealBuildTool: This private key will be ignored.
LogPlayLevel: UnrealBuildTool: bad permissions: ignore key: /cygdrive/C/Users/erickjlee/AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/192.168.0.24/kyeongjunlee/RemoteToolChainPrivate.key
LogPlayLevel: UnrealBuildTool: Permission denied (publickey,password,keyboard-interactive)./Platforms/iPhoneOS.platform/Developer/SDKs
LogPlayLevel: UnrealBuildTool: Execute took 00:00:00.2095569
LogPlayLevel: UnrealBuildTool: Compiling with iPhoneOS SDK on Mac 192.168.0.24
LogPlayLevel: UnrealBuildTool: ERROR: System.FormatException: Input string was not in a correct format.
LogPlayLevel: UnrealBuildTool: at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
LogPlayLevel: UnrealBuildTool: at System.Single.Parse(String s, IFormatProvider provider)
LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.IOSToolChainSettings…ctor(String DevicePlatformName, String SimulatorPlatformName)
LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.IOSToolChainSettings…ctor()
LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.IOSToolChain.<>c.<.ctor>b__1_0()
LogPlayLevel: UnrealBuildTool: at System.Lazy1.CreateValue() LogPlayLevel: UnrealBuildTool: at System.Lazy
1.LazyInitValue()
LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.IOSToolChain.GetCompileArguments_Global(CppCompileEnvironment CompileEnvironment)
LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.IOSToolChain.CompileCPPFiles(CppCompileEnvironment CompileEnvironment, List1 SourceFiles, String ModuleName, ActionGraph ActionGraph) LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.UEBuildModuleCPP.Compile(ReadOnlyTargetRules Target, UEToolChain ToolChain, CppCompileEnvironment BinaryCompileEnvironment, List
1 SharedPCHs, ActionGraph ActionGraph)
LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.UEBuildBinaryCPP.SetupBinaryLinkEnvironment(ReadOnlyTargetRules Target, UEToolChain ToolChain, LinkEnvironment LinkEnvironment, CppCompileEnvironment CompileEnvironment, List1 SharedPCHs, ActionGraph ActionGraph) LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.UEBuildBinaryCPP.Build(ReadOnlyTargetRules Target, UEToolChain ToolChain, CppCompileEnvironment CompileEnvironment, LinkEnvironment LinkEnvironment, List
1 SharedPCHs, ActionGraph ActionGraph)
LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.UEBuildTarget.Build(BuildConfiguration BuildConfiguration, CPPHeaders Headers, List1 OutputItems, List
1 UObjectModules, ActionGraph ActionGraph)
LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String[] Arguments, FileReference ProjectFile)
LogPlayLevel: CommandUtils.Run: Run: Took 3.378991s to run UnrealBuildTool.exe, ExitCode=5
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\Epic Games\UE_4.17\Engine\Binaries\DotNET\UnrealBuildTool.exe nadonmana IOS Development -Project=“C:\Users\erickjlee\Documents\Unreal Projects\nadonmana\nadonmana.uproject” “C:\Users\eri
ckjlee\Documents\Unreal Projects\nadonmana\nadonmana.uproject” -NoUBTMakefiles -remoteini=“C:\Users\erickjlee\Documents\Unreal Projects\nadonmana” -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2017.08.29-19.37.34.txt’
LogPlayLevel: at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback) LogPlayLevel: at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary
2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
LogPlayLevel: at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars) LogPlayLevel: at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary
2 EnvVars)
LogPlayLevel: 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, Dictionary2 EnvVars) LogPlayLevel: at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable
1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars, Nullable
1 InChangelistNumberOverride, Dictionary2 InTargetToManifest) LogPlayLevel: at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params) LogPlayLevel: at BuildCookRun.ExecuteBuild() LogPlayLevel: at AutomationTool.BuildCommand.Execute() LogPlayLevel: at AutomationTool.Automation.Execute(List
1 CommandsToExecute, Dictionary2 Commands) LogPlayLevel: at AutomationTool.Automation.Process(String[] Arguments) LogPlayLevel: at AutomationTool.Program.MainProc(Object Param) LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance(Func
2 Main, Object Param)
LogPlayLevel: at AutomationTool.Program.Main()
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=5 (5)
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 4.002666
LogPlayLevel: BUILD FAILED
PackagingResults: Error: Deployment failed! Unknown Error
Any luck solving this issue?
Hi, I fix this problem, by copy the RemoteToolChainPrivate.key file and put the file under the projectRoot/Config folder.
and then in the editor, select this file as override existing ssh permitting file.
then the problem fixed.
Thank you very much for this
Hi there,
Thanks for sharing the fix!
I am experiencing the same issue, but your fix doesn’t help.
Any other ideas?
It works for me, so what’s the error message?
Failed to run init commands on -MacBook. Output = @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@
Permissions 0660 for ‘/cygdrive/’ are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /cygdrive/
Permission denied (publickey,password,keyboard-interactive).
Failed to initialize a connection to the Remote Server -MacBook
Doing xcode-select --print-path
Execute took 00:00:00.2255001
Compiling with non-standard Xcode (xcode-select): @@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@
Permissions 0660 for ‘/cygdrive/’ are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /cygdrive/
Permission denied (publickey,password,keyboard-interactive)./
Doing ls @@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0660 for ‘/cygdrive/’ are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /cygdrive/
Permission denied (publickey,password,keyboard-interactive)./Platforms/iPhoneOS.platform/Developer/SDKs
Execute took 00:00:00.1570016
Compiling with iPhoneOS SDK on Mac -MacBook
ERROR: System.FormatException: Input string was not in a correct format.
did you copy the keyfile to your projectroot folder?
and then go to editor setting, select the file to override existing ssh permissions file?
Yes… It seems like there’s something I’m missing - it does work (without the workaround) to one project, but when trying to launch on iOS another project, it produces this error (which the workaround also doesn’t solve).
you need configure every project, this configure only affect the current project.
I am re-doing the configuration for each project. Do I need different keys for each project (my understanding is that I don’t need to).
btw, thanks for the quick replies