- Home /
VerifyiPhoneSplashScreen Causing Crash on Launch on iOS?
Apple rejected my app due to crashing on launch. I'm new to deciphering xcode crash logs, but it appears that VerifyiPhoneSplashScreen may be causing the problem (see crash log below). I am running Unity Pro 4.3.1f1 and Xcode 5.0.2. I have some ideas to address the problem, but am wondering if anyone has additional suggestions as to what I should try before re-submitting to the app store. Here's what I'm going to try:
Upgrade to Unity 4.3.4
Make a completely fresh Xcode build from Unity
I also have this suspicion that upgrading to the Unity iOS Pro module may solve this problem, given that Unity uses it's own splash screen since I am running the free iOS module. Does anyone have any experience with a similar problem? Do you think that any of the above things may help? Any answers or leads would be greatly appreciated.
Here is the symbolicated crash log I received from Apple: Incident Identifier: 0FA582F3-2268-4B48-9C84-22AF25337E2A CrashReporter Key: 3bb75f858975ed4d9adb9bb4e7f93ae704ac9824 Hardware Model: iPad4,2 Process: MyNewAppName [277] Path: /var/mobile/Applications/BAE09F77-B4C3-42F0-B444-6C296027C7D8/MyNewAppName.app/MyNewAppName Identifier: com.ARConsulting.MyNewAppName Version: 1.0 (1.0) Code Type: ARM (Native) Parent Process: launchd [1]
Date/Time: 2014-02-10 11:05:42.317 -0800
OS Version: iOS 7.0.4 (11B554a)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x385f51fc __pthread_kill + 8
1 libsystem_pthread.dylib 0x3865ca4f pthread_kill + 55
2 libsystem_c.dylib 0x385a6029 abort + 73
3 MyNewAppName 0x01431aa0 ___lldb_unnamed_function108740$$MyNewAppName + 312
4 MyNewAppName 0x0144e1ac ___lldb_unnamed_function108945$$MyNewAppName + 104
5 libsystem_platform.dylib 0x38657721 _sigtramp + 41
6 libsystem_pthread.dylib 0x3865ca4f pthread_kill + 55
7 libsystem_c.dylib 0x385a6029 abort + 73
8 MyNewAppName 0x00e918b8 VerifyiPhoneSplashScreen(std::string const&) (VerifyiPhoneSplashScreen.cpp:95)
9 MyNewAppName 0x00e8ca3c UnityInitApplication (LibEntryPoint.mm:159)
10 MyNewAppName 0x00b13b00 -[UnityAppController startUnity:] (UnityAppController.mm:185)
11 Foundation 0x2e27933b __NSFireDelayedPerform + 411
12 CoreFoundation 0x2d869e7d __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 13
13 CoreFoundation 0x2d869a97 __CFRunLoopDoTimer + 791
14 CoreFoundation 0x2d867e1f __CFRunLoopRun + 1215
15 CoreFoundation 0x2d7d246d CFRunLoopRunSpecific + 521
16 CoreFoundation 0x2d7d224f CFRunLoopRunInMode + 103
17 GraphicsServices 0x324e02e7 GSEventRunModal + 135
18 UIKit 0x30087841 UIApplicationMain + 1133
19 MyNewAppName 0x00097b18 main (main.mm:28)
20 MyNewAppName 0x00097a64 ___lldb_unnamed_function1$$MyNewAppName + 36
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x385e2838 kevent64 + 24
1 libdispatch.dylib 0x385310d1 _dispatch_mgr_invoke + 229
2 libdispatch.dylib 0x3852b61f _dispatch_mgr_thread + 35
Thread 2:
0 libsystem_kernel.dylib 0x385f5c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38659e07 _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x38659cc0 start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x385f5c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38659e07 _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x38659cc0 start_wqthread + 4
Thread 4:
0 libsystem_kernel.dylib 0x385e2a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x385e287d mach_msg + 37
2 CoreFoundation 0x2d869555 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2d867c75 __CFRunLoopRun + 789
4 CoreFoundation 0x2d7d246d CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2d8160d7 CFRunLoopRun + 95
6 CoreMotion 0x2de8a365 0x2de51000 + 234341
7 libsystem_pthread.dylib 0x3865bc5b _pthread_body + 139
8 libsystem_pthread.dylib 0x3865bbcb _pthread_start + 99
9 libsystem_pthread.dylib 0x38659ccc thread_start + 4
Thread 5:
0 libsystem_kernel.dylib 0x385f5c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x38659e07 _pthread_wqthread + 307
2 libsystem_pthread.dylib 0x38659cc0 start_wqthread + 4
Thread 6:
0 libsystem_kernel.dylib 0x385e2a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x385e287d mach_msg + 37
2 CoreFoundation 0x2d869555 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2d867c75 __CFRunLoopRun + 789
4 CoreFoundation 0x2d7d246d CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2d7d224f CFRunLoopRunInMode + 103
6 Foundation 0x2e1c0693 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 251
7 MyNewAppName 0x00c2e943 ___lldb_unnamed_function67435$$MyNewAppName + 371
8 Foundation 0x2e282c33 __NSThread__main__ + 1059
9 libsystem_pthread.dylib 0x3865bc5b _pthread_body + 139
10 libsystem_pthread.dylib 0x3865bbcb _pthread_start + 99
11 libsystem_pthread.dylib 0x38659ccc thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x385e2ad4 semaphore_wait_trap + 8
1 MyNewAppName 0x01518480 ___lldb_unnamed_function111518$$MyNewAppName + 24
2 MyNewAppName 0x01474a08 ___lldb_unnamed_function109482$$MyNewAppName + 140
3 MyNewAppName 0x014f3f60 ___lldb_unnamed_function111040$$MyNewAppName + 496
4 MyNewAppName 0x01510f94 ___lldb_unnamed_function111414$$MyNewAppName + 284
5 MyNewAppName 0x0152d130 ___lldb_unnamed_function111900$$MyNewAppName + 92
6 libsystem_pthread.dylib 0x3865bc5b _pthread_body + 139
7 libsystem_pthread.dylib 0x3865bbcb _pthread_start + 99
8 libsystem_pthread.dylib 0x38659ccc thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x385e2ad4 semaphore_wait_trap + 8
1 MyNewAppName 0x0103dbf0 Semaphore::WaitForSignal() (PlatformSemaphore.h:53)
2 MyNewAppName 0x010a0f98 JobScheduler::WorkLoop(void*) (JobScheduler.cpp:152)
3 MyNewAppName 0x010a1980 Thread::RunThreadWrapper(void*) (Thread.cpp:40)
4 libsystem_pthread.dylib 0x3865bc5b _pthread_body + 139
5 libsystem_pthread.dylib 0x3865bbcb _pthread_start + 99
6 libsystem_pthread.dylib 0x38659ccc thread_start + 4
Thread 9:
0 libsystem_kernel.dylib 0x385e2ad4 semaphore_wait_trap + 8
1 MyNewAppName 0x015803c1 ___lldb_unnamed_function112906$$MyNewAppName + 17
2 libsystem_pthread.dylib 0x3865bc5b _pthread_body + 139
3 libsystem_pthread.dylib 0x3865bbcb _pthread_start + 99
4 libsystem_pthread.dylib 0x38659ccc thread_start + 4
Thread 10:
0 libsystem_kernel.dylib 0x385e2ad4 semaphore_wait_trap + 8
1 MyNewAppName 0x0103dbf0 Semaphore::WaitForSignal() (PlatformSemaphore.h:53)
2 MyNewAppName 0x00ff4a2c SubstanceSystem::ThreadMain(void*) (SubstanceSystem.cpp:480)
3 MyNewAppName 0x010a1980 Thread::RunThreadWrapper(void*) (Thread.cpp:40)
4 libsystem_pthread.dylib 0x3865bc5b _pthread_body + 139
5 libsystem_pthread.dylib 0x3865bbcb _pthread_start + 99
6 libsystem_pthread.dylib 0x38659ccc thread_start + 4
Thread 11 name: com.apple.NSURLConnectionLoader
Thread 11:
0 libsystem_kernel.dylib 0x385e2a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x385e287d mach_msg + 37
2 CoreFoundation 0x2d869555 __CFRunLoopServiceMachPort + 153
3 CoreFoundation 0x2d867c75 __CFRunLoopRun + 789
4 CoreFoundation 0x2d7d246d CFRunLoopRunSpecific + 521
5 CoreFoundation 0x2d7d224f CFRunLoopRunInMode + 103
6 Foundation 0x2e20d4bd +[NSURLConnection(Loader) _resourceLoadLoop:] + 317
7 Foundation 0x2e282c33 __NSThread__main__ + 1059
8 libsystem_pthread.dylib 0x3865bc5b _pthread_body + 139
9 libsystem_pthread.dylib 0x3865bbcb _pthread_start + 99
10 libsystem_pthread.dylib 0x38659ccc thread_start + 4
Thread 12:
0 libsystem_kernel.dylib 0x385e2ad4 semaphore_wait_trap + 8
1 MyNewAppName 0x012af8b1 ___lldb_unnamed_function100757$$MyNewAppName + 17
2 MyNewAppName 0x012c3e19 ___lldb_unnamed_function101148$$MyNewAppName + 61
3 libsystem_pthread.dylib 0x3865bc5b _pthread_body + 139
4 libsystem_pthread.dylib 0x3865bbcb _pthread_start + 99
5 libsystem_pthread.dylib 0x38659ccc thread_start + 4
Thread 13:
0 libsystem_kernel.dylib 0x385e2a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x385e287d mach_msg + 37
2 AudioToolbox 0x2d24f3bf AURemoteIO::IOThread::Run() + 103
3 AudioToolbox 0x2d2525fd AURemoteIO::IOThread::Entry(void*) + 5
4 AudioToolbox 0x2d18f771 CAPThread::Entry(CAPThread*) + 209
5 libsystem_pthread.dylib 0x3865bc5b _pthread_body + 139
6 libsystem_pthread.dylib 0x3865bbcb _pthread_start + 99
7 libsystem_pthread.dylib 0x38659ccc thread_start + 4
Thread 14:
0 libsystem_kernel.dylib 0x385f5550 __semwait_signal + 24
1 libsystem_c.dylib 0x385664e9 nanosleep + 169
2 libsystem_c.dylib 0x38566439 usleep + 49
3 MyNewAppName 0x012af603 ___lldb_unnamed_function100747$$MyNewAppName + 11
4 MyNewAppName 0x012c3e03 ___lldb_unnamed_function101148$$MyNewAppName + 39
5 libsystem_pthread.dylib 0x3865bc5b _pthread_body + 139
6 libsystem_pthread.dylib 0x3865bbcb _pthread_start + 99
7 libsystem_pthread.dylib 0x38659ccc thread_start + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x01a49960
r4: 0x00000006 r5: 0x3a1c618c r6: 0x00000006 r7: 0x01a49958
r8: 0x053dae00 r9: 0x386576f9 r10: 0x00000002 r11: 0x01a49c20
ip: 0x00000148 sp: 0x01a4994c lr: 0x3865ca53 pc: 0x385f51fc
cpsr: 0x00000010
DLeight, did you manage to publish your app successfully with these steps pointed out by $$anonymous$$antas? Unfortunately i am experiencing the same issue ... i am just about to fix it somehow ...
I did. I can't say for sure if this was the answer or not. I did a number of things before I saw this answer. I would try this, as well as, doing a fresh xcode build and exporting all assets as a package and then importing them into a fresh project.
Good luck!
Answer by Mantas-Puida · Feb 12, 2014 at 08:10 AM
Most likely you have modified splash screen and are running on iOS Free license. To reproduce this problem locally you should remove all your app instances from device and redeploy with the version you submitted to Apple. To fix this problem typically it is enough to replace Xcode project from scratch instead of appending it when building from Unity. (Note: This will also overwrite all changes you have made for this project)
I'm in the same boat. $$anonymous$$y app store build crashes, but my development builds to my iOS device do not. I have added my own launch images as well - are you saying we cannot add our own launch images with the free version of Unity?
Yes, to use custom splash screen you need Unity iOS Pro license: http://unity3d.com/unity/licenses