[iOS] Game crashes on launch via package and launch

Hey there,
While trying to deploy to both iPhone and iPad I’m receiving an error that does not give me a ton to go on. It simply states:

BuildCommand.Execute: ERROR: BUILD FAILED
Program.Main: ERROR: AutomationTool terminated with exception:
Program.Main: ERROR: Exception in AutomationScripts.Automation: Client exited with error code: 253
Stacktrace:   at Project.RunStandaloneClient (System.Collections.Generic.List`1 DeployContextList, System.String ClientLogFile, ERunOptions ClientRunFlags, System.String ClientApp, System.String ClientCmdLine, AutomationTool.ProjectParams Params) [0x00000] in <filename unknown>:0
  at Project.RunInternal (AutomationTool.ProjectParams Params, System.String ServerLogFile, System.String ClientLogFile) [0x00000] in <filename unknown>:0
  at Project.Run (AutomationTool.ProjectParams Params) [0x00000] in <filename unknown>:0
Program.Main: ERROR: Client exited with error code: 253
ProcessManager.KillAll: Trying to kill 0 spawned processes.
Program.Main: AutomationTool exiting with ExitCode=1
Domain_ProcessExit
ProcessManager.KillAll: Trying to kill 0 spawned processes.
RunUAT ERROR: AutomationTool was unable to run successfully.

here’s the full log: full log

Howdy SamIsewall,

Thank you for reporting your error. I am going to need a bit more information before I begin looking into this issue. What version of UE4 would you be using and is that version a binary build or source build of the engine? Would you be able to replicate this issue on a blank template project? Have you been able to package in any previous versions of UE4?

Any additional information would be greatly appreciated.

Thanks and have a great day!

Howdy Samisewall,

Just wanted to check in with you and see if this issue is still occurring. If so, would you be able to provide the information asked for in the above post?

Thanks and have a great day!

Hi Samisewall,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

Hey UFNA,
I’m sorry I didn’t update this with how I fixed it, but you should look into your automation tests and see what fails. As it will not be able to package if the automation tests fail when it’s in the packaging process. This should give you some clues on an angle to follow to fix the issue. Another strategy to find where it fails is to cook the contents of the game for your OS. That’ll run it through it’s paces and possibly assist you in finding where it goes wrong.

Cheers,
Samuel

Hi Sean,

I’ve just met the same problem - it shows that “Client exited with error code: 253” and build fails in result. If i manually launch the app on device it works. What can be a problem with it?

Hi Samuel,

I’ve solved the problem yesterday, it happens because of new XCode update (new device should be marked for development, but with some dances around now)