iOS shipping build crash
Hi, I'm working on an iOS project which runs successfully when testing via the Launch menu in Unreal Editor, but crashes at the launch screen when testing the shipping build.
After generating the build (using "For Distribution" in project settings), uploading to Apple TestFlight, then downloading the app, it launches but freezes (first launch) or crashes (subsequent launches) on the launch screen.
The test case is a blank blueprint project set to Mobile / Tablet with No Starter Content.
I'm on macOS Sierra 10.12.6 with Xcode 9.1
The crash long mentions SPRINGBOARD as the termination reason, any pointers on how to fix this would be appreciated.
asked Sep 12 '18 at 01:43 PM in Bug Reports
So we have seen the SPRINGBOARD crash here locally when closing the application, so I suspect your application is just closing for some reason. The easiest way to find that out is to enable logging in a shipping build. In your game's Target.cs (Game/Source/Game.Target.cs where Game is your game name) add
bUseLoggingInShipping = true
to the SetupGlobalEnviroment method and then you should start getting logs in a shipping build. Run the downloaded one again with logging enabled and then after the crash pull the logs off and post them. Hopefully they will give us what we need to figure out the problem.
Thanks for letting us know about this issue. We just ran into this ourselves internally, and have entered UE-52328 to investigate what is happening. We are still gathering information about this, and unfortunately do not yet have a workaround or solution.
After a call with Martin, he suggested adding a plist entry for camera usage.
I added this to "Additional Plist Data" but it seems it did not get added to the build (I'm doing a full rebuild with shipping/distribution settings). This is what I put in the plist field:
Also, if it helps to diagnose the problem, this project uses the Google VR plugin.
Follow this question
Once you sign in you will be able to subscribe for any updates here