I have ongoing packaging problems getting my Projects on iOS. (Problem occurs in UE 4.9.2 and 4.10 Preview 3)
I have this issue with a new blank C++ project, and with my demo C++ project that I worked a few hours on.
When doing Launch → iPhone in the Unreal error, it will just stop at some point.
Here’s only the last lines:
mono: System.IO.IOException: AFCFileRefOpen (/PublicStaging/UnrealEngineTest-IOS-Shipping.ipa) failed with error 7
mono: at Manzana.iPhoneFile.Open (Manzana.MobileDeviceInstance phone, System.String path, FileAccess openmode) [0x00000] in :0
mono: at Manzana.iPhoneFile.OpenWrite (Manzana.MobileDeviceInstance phone, System.String path) [0x00000] in :0
mono: at Manzana.MobileDeviceInstance.CopyFileToPhone (System.String PathOnPC, System.String PathOnPhone, Int32 ChunkSize) [0x00000] in :0
mono: at Manzana.MobileDeviceInstance.CopyFileToPhone (System.String PathOnPC, System.String PathOnPhone) [0x00000] in :0
mono: at Manzana.MobileDeviceInstance.CopyFileToPublicStaging (System.String SourceFile) [0x00000] in :0
mono: at DeploymentServer.DeploymentImplementation+<>c__DisplayClass7.b__6 (Manzana.MobileDeviceInstance Device) [0x00000] in :0
mono: at DeploymentServer.DeploymentImplementation.PerformActionOnAllDevices (UInt32 DelayEnumerationPeriodMS, DeploymentServer.PerformDeviceActionDelegate PerDeviceWork) [0x00000] in :0
mono: at DeploymentServer.DeploymentImplementation.InstallIPAOnDevice (System.String IPAPath) [0x00000] in :0
mono: at DeploymentServer.Program.RunCommand () [0x00000] in :0
mono: at DeploymentServer.Program+<>c__DisplayClass1.b__0 () [0x00000] in :0
mono: at System.Threading.Thread.StartInternal () [0x00000] in :0
mono: [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.IOException: AFCFileRefOpen (/PublicStaging/UnrealEngineTest-IOS-Shipping.ipa) failed with error 7
mono: at Manzana.iPhoneFile.Open (Manzana.MobileDeviceInstance phone, System.String path, FileAccess openmode) [0x00000] in :0
mono: at Manzana.iPhoneFile.OpenWrite (Manzana.MobileDeviceInstance phone, System.String path) [0x00000] in :0
mono: at Manzana.MobileDeviceInstance.CopyFileToPhone (System.String PathOnPC, System.String PathOnPhone, Int32 ChunkSize) [0x00000] in :0
mono: at Manzana.MobileDeviceInstance.CopyFileToPhone (System.String PathOnPC, System.String PathOnPhone) [0x00000] in :0
mono: at Manzana.MobileDeviceInstance.CopyFileToPublicStaging (System.String SourceFile) [0x00000] in :0
mono: at DeploymentServer.DeploymentImplementation+<>c__DisplayClass7.b__6 (Manzana.MobileDeviceInstance Device) [0x00000] in :0
mono: at DeploymentServer.DeploymentImplementation.PerformActionOnAllDevices (UInt32 DelayEnumerationPeriodMS, DeploymentServer.PerformDeviceActionDelegate PerDeviceWork) [0x00000] in :0
mono: at DeploymentServer.DeploymentImplementation.InstallIPAOnDevice (System.String IPAPath) [0x00000] in :0
mono: at DeploymentServer.Program.RunCommand () [0x00000] in :0
mono: at DeploymentServer.Program+<>c__DisplayClass1.b__0 () [0x00000] in :0
mono: at System.Threading.Thread.StartInternal () [0x00000] in :0
CommandUtils.Run: Run: Took 1,738101s to run mono, ExitCode=1
BuildCommand.Execute: ERROR: BUILD FAILED
Program.Main: ERROR: AutomationTool terminated with exception:
Program.Main: ERROR: Exception in AutomationUtils.Automation: Command failed (Result:1): /Users/Shared/UnrealEngine/4.9/Engine/Binaries/DotNET/IOS/DeploymentServer.exe Install -ipa “/Users/Max/Documents/MasterDocs/Eignugspruefungen/UnrealEngine4/UnrealEngineTest/Binaries/IOS/UnrealEngineTest-IOS-Shipping.ipa” -device 20913ea7cdacf8dd50357b4f55a2a7172a02408a -additionalcommandline "-SessionId=4D3F4DBF274A2802D8991897CF266C45 -SessionOwner=MaxMuthig -SessionName=‘iPhone 6S’ ". See logfile for details: ‘DeploymentServer-2015.11.01-22.30.56.txt’
Stacktrace: at AutomationTool.CommandUtils.RunAndLog (System.String App, System.String CommandLine, System.String Logfile, Int32 MaxSuccessCode, System.String Input, ERunOptions Options, System.Collections.Generic.Dictionary2 EnvVars) [0x00000] in :0 at AutomationTool.CommandUtils.RunAndLog (AutomationTool.CommandEnvironment Env, System.String App, System.String CommandLine, System.String LogName, Int32 MaxSuccessCode, System.String Input, ERunOptions Options, System.Collections.Generic.Dictionary
2 EnvVars) [0x00000] in :0
at IOSPlatform.Deploy (AutomationTool.ProjectParams Params, DeploymentContext SC) [0x00000] in :0
at Project.Deploy (AutomationTool.ProjectParams Params) [0x00000] in :0
at BuildCookRun.DoBuildCookRun (AutomationTool.ProjectParams Params) [0x00000] in :0
at BuildCookRun.ExecuteBuild () [0x00000] in :0
at BuildCommand.Execute () [0x00000] in :0
Program.Main: AutomationTool exiting with ExitCode=Error_Unknown
Domain_ProcessExit
RunUAT ERROR: AutomationTool was unable to run successfully.