Remote build for iOS Failed: UnrealBuildTool: clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am trying still trying to package my app for iOS via a remote build. I have overcome a number of technical issues with SSH, permissions, mobile provisions etc already, and just when I thought I had the whole remote building cracked… the build failed again.

Any help with the following errors would really be appreciated as trying to output this thing is now taking longer than it did to actually develop the app. :- (

UnrealBuildTool: clang: error: linker command failed with exit code 1 (use -v to see invocation)
UnrealBuildTool: Doing bash -c ‘if [ -e “/Users//UE4/Builds/PRECISION/Z/UE4/Arkinstall_BETA/Plugins/ARToolkitPlugin/Binaries/IOS/UE4-ARToolkitPlugin.a” ]; then eval $(stat -s “/Users//UE4/Builds/PRECISION/Z/UE4/Arkinstall_BETA/Plugins/ARToolkitPlugin/Binaries/IOS/UE4-ARToolkitPlugin.a”) && echo $st_mtime,$st_size; fi’
UnrealBuildTool: Execute took 00:00:00.7495959
UnrealBuildTool: Doing bash -c ‘if [ -e “/Users//UE4/Builds/PRECISION/Z/UE4/Arkinstall_BETA/Binaries/IOS/Arkinstall_BETA” ]; then eval $(stat -s “/Users//UE4/Builds/PRECISION/Z/UE4/Arkinstall_BETA/Binaries/IOS/Arkinstall_BETA”) && echo $st_mtime,$st_size; fi’
UnrealBuildTool: Execute took 00:00:00.7130904
UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: /Users//UE4/Builds/PRECISION/Z/UE4/Arkinstall_BETA/Binaries/IOS/Arkinstall_BETA
UnrealBuildTool: Total build time: 155.90 seconds
CommandUtils.Run: Run: Took 156.1952939s to run UnrealBuildTool.exe, ExitCode=5
Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): D:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe Arkinstall_BETA IOS Development -Project=Z:\UE4\Arkinstall_BETA\Arkinstall_BETA.uproject Z:\UE4\Arkinstall_BETA\Arkinstall_BETA.uproject -remoteini=“Z:\UE4\Arkinstall_BETA” -noxge -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2016.10.29-21.58.32.txt’
at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback) at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars) at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary2 EnvVars)
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) at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars, Nullable1 InChangelistNumberOverride, Dictionary2 InTargetToManifest) at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) at BuildCookRun.DoBuildCookRun(ProjectParams Params) at AutomationTool.BuildCommand.Execute() at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands) at AutomationTool.Automation.Process(String[] Arguments) at AutomationTool.Program.MainProc(Object Param) at AutomationTool.InternalUtils.RunSingleInstance(Func2 Main, Object Param)
at AutomationTool.Program.Main()
Program.Main: AutomationTool exiting with ExitCode=5 (5)
BUILD FAILED

Hi i-design,

Please post the entire output log as a text doc and attach here. Typically when you have an Automation Tool fail, the reason is posted earlier under “Warning/Error Summary.” You can check this yourself… When you paste the output log in a text doc, ctrl + F and search for “error” until you reach the summary. The next few items listed will be the cause of your crash.

.

Hi i-design,

Since we have not heard back from you in a while, we are marking this post “resolved” for tracking purposes. However, if you are still experiencing an Automation Tool error, please respond with the entire output log and we will continue to investigate.

Thanks,

.

Hi

Sorry for the delayed response, I have been trying to resolve the problem having taken your previous advice regarding looking into the log file. I have manage to get a little further however I am still encountering a couple of errors. I have attached to log file for your consideration.

link text

Kind regards

Just for troubleshooting purposes, could you try remote building with…

  • neither armv7 and armv64 checked in iOS settings in your Project Settings
  • all plugins disabled

Let me know if either of these results in a successful remote build. -thanks!

Hi i-design,

Since we have not heard back from you in a while, we are marking this post “resolved” for tracking purposes. However, if you are still experiencing an Automation Tool error, please respond with results from the test above.

Thanks,

.