Hi!
I have a Apple Watch app that is bundled with my iOS app. However, when I install the app using TestFlight it crashes on launch.
The app runs fine when launching directly from Xcode. Any tips on how to investigate the cause of this problem?
I have exported the diagnosis log for the app, but that doesn't say me much:
Exception Type: EXCCRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXCCORPSE_NOTIFY
Termination Reason: Namespace WATCHKIT, Code 0x1
Triggered by Thread: 0 Thread 0 Crashed:
0	 libsystem_kernel.dylib				 0x1e3fe060 0x1e3d5000 + 168032
1	 libsystem_kernel.dylib				 0x1e40297c 0x1e3d5000 + 186748
2	 libsystem_kernel.dylib				 0x1e402918 0x1e3d5000 + 186648
3	 WatchKit											 0x33b49df4 0x33a8a000 + 785908
4	 WatchKit											 0x33b4af38 0x33a8a000 + 790328
5	 libdispatch.dylib						 0x1e22c658 0x1e229000 + 13912
6	 libdispatch.dylib						 0x1e22dcbc 0x1e229000 + 19644
7	 WatchKit											 0x33aa75f0 0x33a8a000 + 120304
8	 WatchKit											 0x33aa7384 0x33a8a000 + 119684
9	 UIKitCore										 0x3f226e78 0x3e848000 + 10350200
10	UIKitCore										 0x3f22cc40 0x3e848000 + 10374208
11	UIKitCore										 0x3ea3b74c 0x3e848000 + 2045772
12	UIKitCore										 0x3f228960 0x3e848000 + 10357088
13	UIKitCore										 0x3f228d9c 0x3e848000 + 10358172
14	UIKitCore										 0x3f22ea68 0x3e848000 + 10381928
15	WatchKit											 0x33aa6af8 0x33a8a000 + 117496
16	libdyld.dylib								 0x1e269de8 0x1e269000 + 3560
Thread 1:
0	 libsystem_pthread.dylib			 0x1e4835b4 0x1e479000 + 42420
Thread 2:
0	 libsystem_pthread.dylib			 0x1e4835b4 0x1e479000 + 42420
Thread 3:
0	 libsystem_pthread.dylib			 0x1e4835b4 0x1e479000 + 42420
Thread 4:
0	 libsystem_pthread.dylib			 0x1e4835b4 0x1e479000 + 42420
Thread 5 name:	com.apple.uikit.eventfetch-thread
Thread 5:
0	 libsystem_kernel.dylib				 0x1e3db8a4 0x1e3d5000 + 26788
1	 libsystem_kernel.dylib				 0x1e3dad00 0x1e3d5000 + 23808
2	 CoreFoundation								 0x1e7f2a0c 0x1e75d000 + 612876
3	 CoreFoundation								 0x1e7ed414 0x1e75d000 + 590868
4	 CoreFoundation								 0x1e7ecb70 0x1e75d000 + 588656
5	 Foundation										 0x1f313fc0 0x1f30c000 + 32704
6	 Foundation										 0x1f313ea0 0x1f30c000 + 32416
7	 UIKitCore										 0x3f2c2074 0x3e848000 + 10985588
8	 Foundation										 0x1f4738a0 0x1f30c000 + 1472672
9	 libsystem_pthread.dylib			 0x1e47af04 0x1e479000 + 7940
10	libsystem_pthread.dylib			 0x1e4835c8 0x1e479000 + 42440
Thread 0 crashed with ARM Thread State (64-bit):
		x0: 0x0000000000000016	 x1: 0x0000000000000001	 x2: 0x0000000000000000	 x3: 0x0000000000000000
		x4: 0x000000001766dc29	 x5: 0x0000000000000002	 x6: 0x0000000000000000	 x7: 0x0000000000000000
		x8: 0x0000000000000020	 x9: 0x0000000089b10070	x10: 0x000000004bee7c00	x11: 0x0000000000000000
	 x12: 0x0000000000ff0007	x13: 0x000000001a321000	x14: 0x0000000000033fe8	x15: 0x0000000000000000
	 x16: 0x0000000000000209	x17: 0x0000000000000001	x18: 0x0000000000000000	x19: 0x0000000000000002
	 x20: 0x000000001766dc29	x21: 0x0000000000000000	x22: 0x0000000000000000	x23: 0x0000000000000001
	 x24: 0x0000000000000016	x25: 0x000000004d237ef0	x26: 0x0000000017670310	x27: 0x000000000000000c
	 x28: 0x000000004ef60000	 fp: 0x0000000004abf320	 lr: 0x000000001e40297c
		sp: 0x0000000004abf2e0	 pc: 0x000000001e3fe060 cpsr: 0x40000000
	 esr: 0x56000080	Address size fault
6
0
2.0k