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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

RunUAT ERROR: AutomationTool failed to compile (Mac)

Hello, I'm trying to package my mobile project following this documentation. https://docs.unrealengine.com/latest/INT/Platforms/Mobile/MobilePackagingWizard/index.html

The packaging never gets past the Launching UAT stage.

alt text

Here's the full error log:

 Running AutomationTool...
 Setting up Mono
 Compiling AutomationTool with xbuild
 xbuild Source/Programs/AutomationTool/AutomationTool.csproj /p:Configuration=Development /p:Platform=AnyCPU /verbosity:quiet /nologo /p:TargetFrameworkProfile=
 /Users/Shared/Epic Games/UE_4.17/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/Microsoft.CSharp.targets: error : Error executing tool '/Users/Shared/Epic Games/UE_4.17/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe': ApplicationName='/Users/Shared/Epic Games/UE_4.17/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe', CommandLine='/noconfig @/var/folders/cw/p2k24h9s2_qb1zhcjzs2_zjm0000gn/T/tmp27e8faeb.tmp', CurrentDirectory='/Users/Shared/Epic Games/UE_4.17/Engine/Source/Programs/DotNETCommon/DotNETUtilities', Native error= Cannot find the specified file
 /Users/Shared/Epic Games/UE_4.17/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/Microsoft.CSharp.targets: error : Error executing tool '/Users/Shared/Epic Games/UE_4.17/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe': ApplicationName='/Users/Shared/Epic Games/UE_4.17/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe', CommandLine='/noconfig @/var/folders/cw/p2k24h9s2_qb1zhcjzs2_zjm0000gn/T/tmp52c15efd.tmp', CurrentDirectory='/Users/Shared/Epic Games/UE_4.17/Engine/Source/Programs/UnrealBuildTool', Native error= Cannot find the specified file
 /Users/Shared/Epic Games/UE_4.17/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/Microsoft.CSharp.targets: error : Error executing tool '/Users/Shared/Epic Games/UE_4.17/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe': ApplicationName='/Users/Shared/Epic Games/UE_4.17/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe', CommandLine='/noconfig @/var/folders/cw/p2k24h9s2_qb1zhcjzs2_zjm0000gn/T/tmp8c34d5a.tmp', CurrentDirectory='/Users/Shared/Epic Games/UE_4.17/Engine/Source/Programs/AutomationTool/AutomationUtils', Native error= Cannot find the specified file
 RunUAT ERROR: AutomationTool failed to compile.


I've double checked the folders mentioned in the error log, but couldn't find anything. On Windows, everything works okay. This is an error I only get on my Mac. Is there anything I'm missing?

Product Version: UE 4.17
Tags:
more ▼

asked Dec 12 '17 at 02:55 PM in Packaging & Deployment

avatar image

HenMao
6 1 1 2

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

4 answers: sort voted first

Is there any solution for this? I'm still stuck at the same error.

more ▼

answered Jan 14 '18 at 11:14 AM

avatar image

HenMao
6 1 1 2

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

Same here. 4.18 and 4.19 After trying the mobile patching for iOS method it seems that AutomationTool is completely broken. I can't do any IOS builds anymore, getting AutomationTool Errors... I fixed this by reinstalling the engine, but IOS Patching seems to be broken right now.

more ▼

answered Mar 23 '18 at 03:35 PM

avatar image

ZN-Games
21 1 3

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

try this:

  1. Close UE and open 'Epic Games Launcher'; go to 'Library' and 'Verify' the Engine-Version you are compiling with (drop-down menu). This should re-download the precompiled AutomationTool.

  2. Delete or move the 'AutomationTool' project file.

  3. Build your project.

instead of:

 RunUAT ERROR: AutomationTool failed to compile

You should now get:

 UATHelper: Package Plugin Task (Mac): No project to compile, attempting to use precompiled AutomationTool

Default path of AutomationTool.csproj for UE_4.18:

 #rm -rf /Users/Shared/Epic\ Games/UE_4.18/Engine/Source/Programs/AutomationTool/AutomationTool.csproj
more ▼

answered Apr 13 '18 at 12:16 PM

avatar image

at2_renato
1

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

I had exactly the same error. It seems like just the following command doesn't work well:

 xbuild Source/Programs/AutomationTool/AutomationTool.csproj /p:Configuration=Development /p:Platform=AnyCPU /verbosity:quiet /nologo /p:TargetFrameworkProfile=

I don't know why this works, but cd to /Users/Shared/Epic Games/UE_4.19/Engine/ and type the same command above. Compilation succeeds.

more ▼

answered Jul 18 '18 at 02:08 AM

avatar image

unrealsomeone
1 1 1

(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