Hello,
I’ve been trying for the past 3 days to build my app for distribution, I have some days left before Apple can approve my app and launch on iTunes.
I initially was able to create a development app using developer mobile provision, certificates, bundle IDs, etc. Now, I have made a distribution mobile provision and a distribution certificate. However, after 12 hours waiting for the app to build, I get a BUILD FAILED message. Here’s what it shows before the message:
UATHelper: Packaging (iOS): IPhonePackager: … cleaning: C:\Program Files\Epic Games\UE_4.16\Engine\Intermediate\IOS-Deploy\UE4Game\Shipping
UATHelper: Packaging (iOS): IPhonePackager:
UATHelper: Packaging (iOS): IPhonePackager: Loaded stub IPA from ‘C:\Program Files\Epic Games\UE_4.16\Engine\Binaries\IOS\UE4Game-IOS-Shipping.stub’ …
UATHelper: Packaging (iOS): IPhonePackager: … ‘C:\Program Files\Epic Games\UE_4.16\Engine\Binaries\IOS\UE4Game-IOS-Shipping.stub’ → ‘C:\Users\Gabo\Documents\Unreal Projects\LosArcos\Binaries\IOS\LosArcos-IOS-Shipping.ipa’
UATHelper: Packaging (iOS): IPhonePackager: Copy: C:\Program Files\Epic Games\UE_4.16\Engine\Binaries\IOS\UE4Game-IOS-Shipping.stub → C:\Users\Gabo\Documents\Unreal Projects\LosArcos\Binaries\IOS\LosArcos-IOS-Shipping.ipa, last modified at 8/15/2017 11:46:19 AM
UATHelper: Packaging (iOS): IPhonePackager: Found Info.plist (C:\Users\Gabo\Documents\Unreal Projects\LosArcos\Saved\StagedBuilds\IOS\Info.plist) in stage, which will be merged in with stub plist contents
UATHelper: Packaging (iOS): IPhonePackager: Using mobile provision ‘MBVRAgency_LosArcos_ProvisionProfile_DIST’ to code sign
UATHelper: Packaging (iOS): IPhonePackager: … Writing updated embedded.mobileprovision
UATHelper: Packaging (iOS): IPhonePackager: Looking for a certificate that matches the application identifier ‘797F4PLD2D.com.mbvragency.losarcos’
UATHelper: Packaging (iOS): IPhonePackager: … Provision entry SN ‘7F739B74BCE6DE82’ matched 1 installed certificate(s)
UATHelper: Packaging (iOS): IPhonePackager: … … Installed certificate ‘iPhone Distribution: MBVR Agency Inc (797F4PLD2D)’ is valid (choosing it) (range ‘8/16/2017 10:43:59 AM’ to ‘8/16/2018 10:43:59 AM’)
UATHelper: Packaging (iOS): IPhonePackager: … Found matching certificate ‘iPhone Distribution: MBVR Agency Inc (797F4PLD2D)’ (valid from 8/16/2017 10:43:59 AM to 8/16/2018 10:43:59 AM)
UATHelper: Packaging (iOS): IPhonePackager: Found CFBundleVersion string ‘0.6’ and updated it to ‘0.7’
UATHelper: Packaging (iOS): IPhonePackager: Saving IPA …
UATHelper: Packaging (iOS): IPhonePackager: IPP ERROR: Application exception: System.IO.IOException: The file is too long. This operation is currently limited to supporting files less than 2 gigabytes in size.
UATHelper: Packaging (iOS): IPhonePackager: at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
UATHelper: Packaging (iOS): IPhonePackager: at iPhonePackager.CookTime.RepackageIPAFromStub()
UATHelper: Packaging (iOS): IPhonePackager: at iPhonePackager.Program.Main(String] args)
UATHelper: Packaging (iOS): CommandUtils.Run: Run: Took 0.3624643s to run IPhonePackager.exe, ExitCode=1
UATHelper: Packaging (iOS): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:1): C:\Program Files\Epic Games\UE_4.16\Engine\Binaries\DotNET\IOS\IPhonePackager.exe RepackageFromStage “Engine” -config Shipping -schemename UE4 -schemeconfig “Shipping” -compress=best -sign -
stagedir “C:\Users\Gabo\Documents\Unreal Projects\LosArcos\Saved\StagedBuilds\IOS” -project “C:\Users\Gabo\Documents\Unreal Projects\LosArcos\LosArcos.uproject” -provision “Distro_MBVRAgency_LosArcos_ProvisionProfile_DIST.mobileprovision” -certificate “iPhone Distribution: MBVR Agency Inc (797F4PLD2D)”. See logfile for details: ‘IPhonePackager-2017.08.18-06.
12.13.txt’
UATHelper: Packaging (iOS): at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 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 IOSPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL)
UATHelper: Packaging (iOS): at Project.Package(ProjectParams Params, Int32 WorkingCL)
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(List1 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=1 (Error_Unknown)
UATHelper: Packaging (iOS): BUILD FAILED
PackagingResults:Error: Error Unknown Error
The only possible problem I see is the following line:
UATHelper: Packaging (iOS): IPhonePackager: IPP ERROR: Application exception: System.IO.IOException: The file is too long. This operation is currently limited to supporting files less than 2 gigabytes in size.
I have already had success creating a development build, why is it failing now?