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"

Failed to package iOS (code-based project with remote build)

Failed to package for iOS (code-based project with remote build).

Error on code compile step:

UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/admin/UE4/Builds/WORKPC-1/C/Workspace/YIT_AR_31_01_2017/UE4/YIT_AR_31_01_2017/Source/YIT_AR_31_01_2017/YIT_AR_31_01_2017GameModeBase.cpp:3: UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/admin/UE4/Builds/WORKPC-1/C/Workspace/YIT_AR_31_01_2017/UE4/YIT_AR_31_01_2017/Source/YIT_AR_31_01_2017/YIT_AR_31_01_2017.cpp:3: UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/admin/UE4/Builds/WORKPC-1/C/Workspace/YIT_AR_31_01_2017/UE4/YIT_AR_31_01_2017/Source/YIT_AR_31_01_2017/YIT_AR_31_01_2017.h:5: UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/admin/UE4/Builds/WORKPC-1/C/Workspace/YIT_AR_31_01_2017/UE4/YIT_AR_31_01_2017/Source/YIT_AR_31_01_2017/YIT_AR_31_01_2017.h:5: UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/admin/UE4/Builds/WORKPC-1/C/Epic Games/UE_4.16/Engine/Source/Runtime/Engine/Public/Engine.h:12: UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/admin/UE4/Builds/WORKPC-1/C/Epic Games/UE_4.16/Engine/Source/Runtime/Engine/Public/Engine.h:12: UATHelper: Packaging (iOS): UnrealBuildTool: /Users/admin/UE4/Builds/WORKPC-1/C/Epic Games/UE_4.16/Engine/Source/Runtime/Core/Public/Core.h:121:10: fatal error: 'Features/IModularFeature.h' file not found UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: /Users/admin/UE4/Builds/WORKPC-1/C/Epic Games/UE_4.16/Engine/Source/Runtime/Core/Public/Core.h:121:10: fatal error: 'Features/IModularFeature.h' file not found UATHelper: Packaging (iOS): UnrealBuildTool: #include "Features/IModularFeature.h" UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: #include "Features/IModularFeature.h" UATHelper: Packaging (iOS): UnrealBuildTool: ^ UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: ^ UATHelper: Packaging (iOS): UnrealBuildTool: 1 error generated. UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: 1 error generated. UATHelper: Packaging (iOS): UnrealBuildTool: Execute took 00:00:09.5710874 UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/admin/UE4/Builds/WORKPC-1/C/Workspace/YIT_AR_31_01_2017/UE4/YIT_AR_31_01_2017/Intermediate/Build/IOS/UE4/Inc/YIT_AR_31_01_2017/YIT_AR_31_01_2017.generated.cpp:8: UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/admin/UE4/Builds/WORKPC-1/C/Workspace/YIT_AR_31_01_2017/UE4/YIT_AR_31_01_2017/Source/YIT_AR_31_01_2017/YIT_AR_31_01_2017.h:5: UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/admin/UE4/Builds/WORKPC-1/C/Epic Games/UE_4.16/Engine/Source/Runtime/Engine/Public/Engine.h:12: UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: /Users/admin/UE4/Builds/WORKPC-1/C/Epic Games/UE_4.16/Engine/Source/Runtime/Core/Public/Core.h:121:10: fatal error: 'Features/IModularFeature.h' file not found UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: #include "Features/IModularFeature.h" UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: ^ UATHelper: Packaging (iOS): UnrealBuildTool: UATHelper: Packaging (iOS): UnrealBuildTool: 1 error generated. UATHelper: Packaging (iOS): UnrealBuildTool: Doing bash -c 'if [ -e "/Users/admin/UE4/Builds/WORKPC-1/C/Workspace/YIT_AR_31_01_2017/UE4/YIT_AR_31_01_2017/Binaries/IOS/YIT_AR_31_01_2017" ]; then eval $(stat -s "/Users/admin/UE4/Builds/WORKPC-1/C/Workspace/YIT_AR_31_01_2017/UE4/YIT_AR_31_01_2017/Binaries/IOS/YIT_AR_31_01_2017") && echo $st_mtime,$st_size; fi' UATHelper: Packaging (iOS): UnrealBuildTool: Execute took 00:00:00.4935033 UATHelper: Packaging (iOS): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: /Users/admin/UE4/Builds/WORKPC-1/C/Workspace/YIT_AR_31_01_2017/UE4/YIT_AR_31_01_2017/Binaries/IOS/YIT_AR_31_01_2017 UATHelper: Packaging (iOS): UnrealBuildTool: Total build time: 19,06 seconds (Remote executor: 0,00 seconds) UATHelper: Packaging (iOS): CommandUtils.Run: Run: Took 19,2091584s to run UnrealBuildTool.exe, ExitCode=5 UATHelper: Packaging (iOS): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe YIT_AR_31_01_2017 IOS Development -Project=C:\Workspace\YIT_AR_31_01_2017\UE4\YIT_AR_31_01_2017\YIT_AR_31_01_2017.uproject C :\Workspace\YIT_AR_31_01_2017\UE4\YIT_AR_31_01_2017\YIT_AR_31_01_2017.uproject -NoUBTMakefiles -remoteini="C:\Workspace\YIT_AR_31_01_2017\UE4\YIT_AR_31_01_2017" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.05.02-19.49.29.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

UE4.16 Preview 2 Mac OS Sierra, XCode 8.3.2

The same project successfully packaged with 4.16 preview 1 version

Product Version: UE 4.16 Preview
Tags:
more ▼

asked May 02 '17 at 05:26 PM in Bug Reports

avatar image

Creo
149 1 6 16

avatar image Matthew J ♦♦ STAFF May 02 '17 at 07:32 PM

Hello Creo,

Does this issue happen with all of your projects or only this one in particular? Could you also please include the full log file as a .txt attachment?

avatar image Creo May 02 '17 at 11:31 PM

Hi Mathew,

it's seems like old projects from previous versions of UE4 are not building correctly. When the error came up I had a blank C++ project created in 4.15.0 version which built successfully in 4.16 p1 (after project conversion), but not in p2. I've recreated a blank C++ project in the preview 2 and it now successfully building. Sorry, but I can't provide you a full log file because I've already removed old project's files while recreation.

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

1 answer: sort voted first

I understand. If you can nail down a reproduction, I'd be happy to look into this but without more information, I won't be able to continue looking into this. I'll mark this as resolved for the time being but if you run into this issue again, please feel free to comment and the post will reopen.

more ▼

answered May 03 '17 at 07:03 PM

avatar image

Matthew J ♦♦ STAFF
31.8k 526 91 417

(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