x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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/ibby/UE4/Builds/PRECISION/Z/UE4/Arkinstall_BETA/Plugins/ARToolkitPlugin/Binaries/IOS/UE4-ARToolkitPlugin.a" ]; then eval $(stat -s "/Users/ibby/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/ibby/UE4/Builds/PRECISION/Z/UE4/Arkinstall_BETA/Binaries/IOS/Arkinstall_BETA" ]; then eval $(stat -s "/Users/ibby/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/ibby/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, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 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, Dictionary`2 EnvVars) 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 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(List`1 CommandsToExecute, CaselessDictionary`1 Commands) at AutomationTool.Automation.Process(String[] Arguments) at AutomationTool.Program.MainProc(Object Param) at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) at AutomationTool.Program.Main() Program.Main: AutomationTool exiting with ExitCode=5 (5) BUILD FAILED

Product Version: UE 4.13
Tags:
more ▼

asked Oct 29 '16 at 09:20 PM in Packaging & Deployment

avatar image

i-design
41 2 3 4

avatar image Steve Hardister ♦♦ STAFF Oct 31 '16 at 08:57 PM

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.

Steve H.

avatar image Steve Hardister ♦♦ STAFF Nov 04 '16 at 08:13 PM

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,

Steve H.

avatar image i-design Nov 04 '16 at 10:19 PM

Hi Steve

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

Shaz

avatar image Steve Hardister ♦♦ STAFF Nov 07 '16 at 04:43 PM

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!

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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,

Steve H.

more ▼

answered Nov 11 '16 at 08:55 PM

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question