I am trying to find why sometimes our app will not correctly start after a clean install. This is blocking my progress to beta testflight in the app store as for some reason the review team has this continously.
I tried adding some logging, but the logging part i added in the Main class is not reached when this happens.
The reason review is not accepted:
Termination Description: SPRINGBOARD, scene-create watchdog transgression: exhausted real (wall clock) time allowance of 18.82 seconds | | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: scene-create | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | “Elapsed total CPU time (seconds): 7.360 (user 7.360, system 0.000), 18% CPU”, | “Elapsed application CPU time (seconds): 0.771, 2% CPU” | )
Thread 0 name: main Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001841d90f4 0x1841b7000 + 139508
1 libsystem_pthread.dylib 0x000000018437bc90 0x184377000 + 19600
2 MOE 0x0000000109a5ee3c 0x109990000 + 847420
3 MOE 0x0000000109a36ff0 0x109990000 + 684016
4 ??? 0x0000000110f1f01c 0 + 4579258396
5 MOE 0x0000000109bda280 0x109990000 + 2400896
6 MOE 0x0000000109d734b0 0x109990000 + 4076720
7 MOE 0x0000000109d6bde8 0x109990000 + 4046312
8 MOE 0x0000000109d33b88 0x109990000 + 3816328
9 MOE 0x0000000109d25ae8 0x109990000 + 3758824
10 MOE 0x0000000109a5fc24 0x109990000 + 850980
11 MOE 0x0000000109cff8f0 0x109990000 + 3602672
12 MOE 0x0000000109cff8f0 0x109990000 + 3602672
13 MOE 0x0000000109cff8f0 0x109990000 + 3602672
this last line is repeat until line 510, so it looks like a loop in MOE ?
Although it is called a crash report, it is not an actual crash, but a failure to load the primary screen on time.
I can recreate this only occasionally by removing/installing the app ( say about 1 in 20 times or so )
Is this a known problem with a possible fix, if not is there a way to debug the process before the Main class is reached ?
I am using MOE-sdk-1.4.2 with the latest xcode 9.3 (9E145)