I’m using the binary version of the 4.4 Editor on OS X. I began to package my game for iOS, selected Shipping, and am using an AdHoc Provisioning Profile. I had the following error when packaging my game for iOS:
MainFrameActions: Packaging (iOS): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Packaging (iOS): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (iOS): Program.Main: ERROR: Exception in IOS.Automation: ARCHIVE FAILED - /Volumes/My Book 2TB/Nacelle Games project backups/Mattie Math Bot backups/MattieMathBot_Beta_Build_iOS_OSX/MattieMathBot_repo_svn_wc/trunk/MattieMathBot/Binaries/IOS/MattieMathBot-IOS-Shipping.ipa was not found
MainFrameActions: Packaging (iOS): Stacktrace: at IOSPlatform.GetFilesToArchive (AutomationTool.ProjectParams Params, DeploymentContext SC) [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (iOS): at Project.CreateArchiveManifest (AutomationTool.ProjectParams Params, DeploymentContext SC) [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (iOS): at Project.Archive (AutomationTool.ProjectParams Params) [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (iOS): at BuildCookRun.DoBuildCookRun (AutomationTool.ProjectParams Params) [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (iOS): at BuildCookRun.ExecuteBuild () [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (iOS): at BuildCommand.Execute () [0x00000] in <filename unknown>:0
MainFrameActions: Packaging (iOS): Program.Main: ERROR: ARCHIVE FAILED - /Volumes/My Book 2TB/Nacelle Games project backups/Mattie Math Bot backups/MattieMathBot_Beta_Build_iOS_OSX/MattieMathBot_repo_svn_wc/trunk/MattieMathBot/Binaries/IOS/MattieMathBot-IOS-Shipping.ipa was not found
MainFrameActions: Packaging (iOS): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (iOS): Program.Main: AutomationTool exiting with ExitCode=1
MainFrameActions: Packaging (iOS): Domain_ProcessExit
MainFrameActions: Packaging (iOS): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (iOS): RunUAT ERROR: AutomationTool was unable to run successfully.
Now, the packaging doesn’t appear to have actually failed… Which is the weird part. I was able to find the packaged IPA file at this location:
/Volumes/My Book 2TB/Nacelle Games project backups/Mattie Math Bot backups/MattieMathBot_Beta_Build_iOS_OSX/MattieMathBot_repo_svn_wc/trunk/MattieMathBot/Binaries/IOS/Distro_MattieMathBot-IOS-Shipping.ipa
You can see that the Automator was looking for “MattieMathBot-IOS-Shipping.ipa”, but what was actually created was “Distro_MattieMathBot-IOS-Shipping.ipa”.
Inside the Binaries/IOS folder I was left with the Payload folder, the Distro_MattieMathBot-IOS-Shipping.ipa file, and a MattieMathBot-IOS-Shipping file that OS X calls a “Unix Executable File (32-bit)” Kind of file.
I was able to successfully install the Distro_MattieMathBot-IOS-Shipping.ipa file on an running iOS 7.1, and it runs perfectly fine.
Last detail I wanted to add; it may just be a coincidence, but the IPA file I was able to install has the “Distro_” prefix on it, which is the same prefix I had put on the AdHoc Provisioning Profile (per instructions here: Packaging Unreal Engine Projects | Unreal Engine 5.1 Documentation).
I’m guessing this is some sort of bug?