iOS App Review Fail - iPad with iOS 7.1 crashes on Launch - ios

I have some trouble to review my App for the App Store. Thats not my first App but I just cant get the Error.
The App works on Real Device (iPhone 5S) without any exceptions. I don't have an iPad, but on Simulator it works perfectly.
STEPS:
1. App Launches with Launcher Image
2. App SHOULD create / open SQLite3 Database and populate a UITableView from it. As i said - works perfectly on iPhone but crashes directly after Launch-Screens on iPad.
EDIT:::
- I found at the Targets Position the following:
"Patientenratgeber"
"PatientenratgeberTests"
If I build for the first one - no errors
If I build the second - error
Do I need this second Build Target? How can i delete it without causing new problems?
Some ideas why this happens?
This is my Crash-Report:
{"bundleID":"Patientenratgeber","app_name":"Patientenratgeber","bug_type":"109","name":"Patientenratgeber","os_version":"iPhone OS 7.1 (11D167)","version":"1.0 (1.0)"} Incident Identifier: D72511CB-A5EA-4C6A-A535-DD1FB46BC2E5 CrashReporter Key: 4f2c8fa05c83e9d455c232dbd2fa63e852283d0e Hardware Model: xxx Process: Patientenratgeber [1324] Path: /var/mobile/Applications/DF803017-609F-498A-8C5C-56FB17B4F581/Patientenratgeber.app/Patientenratgeber Identifier: Patientenratgeber Version: 1.0 (1.0) Code Type: ARM-64 (Native) Parent Process: launchd [1]
Date/Time: 2014-05-01 10:53:37.785 -0700 OS Version: iOS 7.1 (11D167) Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000005 Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libobjc.A.dylib 0x000000018ee0c0b0 objc_retain + 16 1 UIKit 0x00000001853e466c
-[UIViewController loadViewIfRequired] + 572 2 UIKit 0x00000001853e43f0 -[UIViewController view] + 28 3 UIKit 0x0000000185465af0 -[UIClientRotationContext initWithClient:toOrientation:duration:andWindow:] + 436 4 UIKit 0x0000000185463f48 -[UIWindow
_setRotatableClient:toOrientation:updateStatusBar:duration:force:isRotating:]
+ 1216 5 UIKit 0x0000000185463a00 -[UIWindow _setRotatableViewOrientation:updateStatusBar:duration:force:] + 124 6 UIKit 0x00000001853e6450 -[UIWindow
_updateToInterfaceOrientation:duration:force:] + 400 7 UIKit 0x000000018546302c -[UIViewController
_tryBecomeRootViewControllerInWindow:] + 188 8 UIKit 0x00000001853eb95c -[UIWindow addRootViewControllerViewIfPossible] + 508 9 UIKit 0x00000001853e8d74 -[UIWindow
_setHidden:forced:] + 288 10 UIKit 0x000000018545b838 -[UIWindow makeKeyAndVisible] + 64 11 UIKit 0x0000000185458144 -[UIApplication
_callInitializationDelegatesForURL:payload:suspended:] + 2136 12 UIKit 0x00000001854519e8 -[UIApplication
_runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 768 13 UIKit 0x00000001853e58c8 -[UIApplication handleEvent:withNewEvent:] + 3312 14 UIKit 0x00000001853e4acc -[UIApplication sendEvent:] + 100 15 UIKit 0x0000000185451040 _UIApplicationHandleEvent + 668 16 GraphicsServices 0x0000000187fb7500 _PurpleEventCallback
+ 672 17 GraphicsServices 0x0000000187fb702c PurpleEventCallback + 44 18 CoreFoundation 0x00000001823da88c
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52 19 CoreFoundation 0x00000001823da7ec __CFRunLoopDoSource1
+ 440 20 CoreFoundation 0x00000001823d8a10 __CFRunLoopRun + 1616 21 CoreFoundation 0x00000001823196cc CFRunLoopRunSpecific + 448 22 UIKit 0x00000001854501c4 -[UIApplication _run] + 780 23 UIKit 0x000000018544afd8 UIApplicationMain + 1152 24 Patientenratgeber 0x000000010005d400 main (main.m:16) 25 libdyld.dylib 0x000000018f3e7a9c start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager Thread 1: 0 libsystem_kernel.dylib 0x000000018f4c9aa8 kevent64 + 8 1 libdispatch.dylib 0x000000018f3cd998
_dispatch_mgr_thread + 48
Thread 2: 0 libsystem_kernel.dylib 0x000000018f4e2e74
__workq_kernreturn + 8 1 libsystem_pthread.dylib 0x000000018f561548 start_wqthread + 0
Thread 3: 0 libsystem_kernel.dylib 0x000000018f4e2e74
__workq_kernreturn + 8 1 libsystem_pthread.dylib 0x000000018f561548 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000005 x1: 0x0000000000000000 x2: 0x00000000ffffffff x3: 0x0000000000000001
x4: 0x000000018f15af34 x5: 0x0000000000000020 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x2b00950554ab6cf2 x10: 0x000000016fda89e2 x11: 0x0000000192b24c3f x12: 0x0000000000000018 x13: 0x0000000000060000 x14: 0x0000000000000000 x15: 0x0000000000000000 x16: 0x000000018ee0d8cc x17: 0x0000000100064018 x18: 0x0000000000000000 x19: 0x000000015d510c50 x20: 0x0000000170248760 x21: 0x0000000185ab3f08 x22: 0x0000000185adb64c x23: 0x0000000185ad2516 x24: 0x0000000000000000 x25: 0x0000000178062240 x26: 0x000000019232e098 x27: 0x0000000000000001 x28: 0x0000000000000003 fp: 0x000000016fda8b70 lr: 0x000000010005d56c
sp: 0x000000016fda8b50 pc: 0x000000018ee0c0b0 cpsr: 0x00000000
Binary Images:

Try to debug your code by enabling NSZombieEnabled flag.
Take a look at the images below and follow the steps.

You can add Exception Break point.. From there you will get idea where app crashes:
Here are steps for that:

Related

Why is my iOS crash report from a debug build only partially symbolicated?

I have a crash report from my app on my iPhone, and the stack in the report is unsymbolicated for my app's binary only. I'm not using an archive build to distribute to Test Flight or the App Store yet, so I just have a debug build.
Is there something I can do fully symbolicate my debug build's crash report?
Maybe I have a setting similar to strip debug symbols during copy setup wrong that's causing this problem? I only say that because someone mentioned it in another question, but it didn't seem to make a difference.
Here's the interesting part from the crash report:
Incident Identifier: 411B8299-C4B8-4748-B76B-8F24E479BBA4
CrashReporter Key: 3833a4b98976d8b0b8fcc5623a7dff4217fc4101
Hardware Model: iPhone12,8
Process: MyApp [27285]
Path: /private/var/containers/Bundle/Application/3F19D333-751B-4CFE-B648-B2F6E04BD866/MyApp.app/MyApp
Identifier: Something.MyApp
Version: 1 (1.0)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: Something.MyApp [5248]
Date/Time: 2021-06-28 18:20:49.0345 -0700
Launch Time: 2021-06-28 18:20:42.5327 -0700
OS Version: iPhone OS 14.6 (18F72)
Release Type: User
Baseband Version: 2.05.01
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001c9832334 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001e727da9c pthread_kill + 272
2 libsystem_c.dylib 0x00000001a4a4fb90 abort + 104
3 libsystem_c.dylib 0x00000001a4a4f024 err + 0
4 MyApp 0x00000001021228d0 0x1020f8000 + 174288
5 MyApp 0x0000000102122874 0x1020f8000 + 174196
6 MyApp 0x0000000102122828 0x1020f8000 + 174120
7 MyApp 0x0000000102122800 0x1020f8000 + 174080
8 MyApp 0x0000000102121114 0x1020f8000 + 168212
9 MyApp 0x00000001021180e0 0x1020f8000 + 131296
10 MyApp 0x0000000102117010 0x1020f8000 + 126992
11 MyApp 0x000000010212c5f8 0x1020f8000 + 214520
12 MyApp 0x0000000102171174 0x1020f8000 + 495988
13 MyApp 0x000000010212a05c 0x1020f8000 + 204892
14 MyApp 0x00000001021689b0 0x1020f8000 + 461232
15 SpriteKit 0x00000001d01df780 -[SKScene _update:] + 364
16 SpriteKit 0x00000001d01bec50 -[SKRenderer _update:] + 844
17 SpriteKit 0x00000001d01be8d0 -[SKRenderer updateAtTime:] + 108
18 MyApp 0x0000000102103a9c 0x1020f8000 + 47772
19 MetalKit 0x00000001ce5d6778 -[MTKView draw] + 144
20 MetalKit 0x00000001ce5d2d14 -[MTKViewDisplayLinkTarget draw] + 40
21 QuartzCore 0x000000019e9047b8 CA::Display::DisplayLink::dispatch_items+ 83896 (unsigned long long, unsigned long long, unsigned long long) + 672
22 QuartzCore 0x000000019e9e37f4 display_timer_callback+ 997364 (__CFMachPort*, void*, long, void*) + 280
23 CoreFoundation 0x000000019b5f6a5c __CFMachPortPerform + 176
24 CoreFoundation 0x000000019b61c274 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60
25 CoreFoundation 0x000000019b61b5f4 __CFRunLoopDoSource1 + 596
26 CoreFoundation 0x000000019b6151d8 __CFRunLoopRun + 2372
27 CoreFoundation 0x000000019b614360 CFRunLoopRunSpecific + 600
28 GraphicsServices 0x00000001b2c52734 GSEventRunModal + 164
29 UIKitCore 0x000000019e08f584 -[UIApplication _run] + 1072
30 UIKitCore 0x000000019e094df4 UIApplicationMain + 168
31 MyApp 0x0000000102168a44 0x1020f8000 + 461380
32 libdyld.dylib 0x000000019b2d0cf8 start + 4
Thread 1:
0 libsystem_pthread.dylib 0x00000001e7285744 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00000001e7285744 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x00000001e7285744 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x00000001e7285744 start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x00000001e7285744 start_wqthread + 0
Thread 6 name: com.apple.uikit.eventfetch-thread
Thread 6:
0 libsystem_kernel.dylib 0x00000001c980d4fc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001c980c884 mach_msg + 76
2 CoreFoundation 0x000000019b61aeb0 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0x000000019b614d50 __CFRunLoopRun + 1212
4 CoreFoundation 0x000000019b614360 CFRunLoopRunSpecific + 600
5 Foundation 0x000000019c901fdc -[NSRunLoop+ 32732 (NSRunLoop) runMode:beforeDate:] + 232
6 Foundation 0x000000019c901ea8 -[NSRunLoop+ 32424 (NSRunLoop) runUntilDate:] + 92
7 UIKitCore 0x000000019e14412c -[UIEventFetcher threadMain] + 516
8 Foundation 0x000000019ca7332c __NSThread__start__ + 864
9 libsystem_pthread.dylib 0x00000001e727cbfc _pthread_start + 320
10 libsystem_pthread.dylib 0x00000001e7285758 thread_start + 8
Thread 7:
0 libsystem_pthread.dylib 0x00000001e7285744 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000030 x7: 0x0000000000000000
x8: 0x46025ab3c4edaa76 x9: 0x46025ab2c6bd92b6 x10: 0x0000000000000000 x11: 0x0000000000000037
x12: 0x00000000ffffffff x13: 0x0000000156bcafe0 x14: 0x0000000000000000 x15: 0x00000001fd88a6a8
x16: 0x0000000000000148 x17: 0x00000001025038c0 x18: 0x0000000105a17622 x19: 0x0000000000000006
x20: 0x0000000000000103 x21: 0x00000001025039a0 x22: 0x0000000102176a5e x23: 0x000000014dd18000
x24: 0x00000001f1799000 x25: 0x0000000000000000 x26: 0x0000000000000001 x27: 0x0000000283e0a200
x28: 0x000000015681d600 fp: 0x000000016dd04ba0 lr: 0x00000001e727da9c
sp: 0x000000016dd04b80 pc: 0x00000001c9832334 cpsr: 0x40000000
esr: 0x56000080 Address size fault
Binary Images:
0x1020f8000 - 0x10217ffff MyApp arm64 <b2aa8f67eb433d298ff722f4a4d98040> /var/containers/Bundle/Application/3F19D333-751B-4CFE-B648-B2F6E04BD866/MyApp.app/MyApp
0x102428000 - 0x102433fff libobjc-trampolines.dylib arm64e <26cb4bb90880358ba280192f8ed6d0ad> /usr/lib/libobjc-trampolines.dylib
...
I figured it out. I must have edited my build options at some point in the past, and I changed the Debug Information Format build option from DWARF with dSYM File to just DWARF for my debug build only. Once I rebuilt, all symbols were showing up.

Core Data Exception coerceValueForKeyWithDescription

I'm having trouble fixing a non-reproducible crash that's only appearing on a couple user devices. The exception is raised while changing the properties of a Core Data managed object, and then saving those changes. The users report that their changes are not persisted next time they open the app after the crash. Here is the crash log up to the binary images:
Hardware Model: iPhone12,5
Process: Pupl [25152]
Path: /private/var/containers/Bundle/Application/E75455E2-43A9-4C5C-BEFF-3E64F5046322/Pupl.app/Pupl
Identifier: com.kevinolmats.Pupl
Version: 285 (1.0.1)
AppStoreTools: 12A7402a
AppVariant: 1:iPhone12,5:14
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.kevinolmats.Pupl [1530]
Date/Time: 2020-10-25 09:57:57.2646 -0600
Launch Time: 2020-10-25 09:48:56.9577 -0600
OS Version: iPhone OS 14.0.1 (18A393)
Release Type: User
Baseband Version: 2.00.01
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x1935665ac __exceptionPreprocess + 220 (NSException.m:199)
1 libobjc.A.dylib 0x1a75e042c objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreData 0x19961a648 _PFManagedObject_coerceValueForKeyWithDescription + 2004 (NSManagedObject.m:0)
3 CoreData 0x19961f6f4 _sharedIMPL_setvfk_core + 192 (NSManagedObject_Accessors.m:1412)
4 Pupl 0x100d96cac specialized WeightCategoryEditorViewModel.init(course:color:context:) + 596 (WeightCategoryEditorViewModel.swift:30)
5 Pupl 0x100d8d7a0 0x100d44000 + 300960
6 SwiftUI 0x199ed30b0 partial apply for implicit closure #2 in implicit closure #1 in DefaultListButtonStyle.ListButton.body.getter + 28 (PrimitiveButtonStyle.swift:47)
7 SwiftUI 0x199ddb9c4 thunk for #escaping #callee_guaranteed () -> () + 28 (<compiler-generated>:0)
8 SwiftUI 0x199e60e90 specialized closure #2 in PlatformItemList.containerSelectionBehavior.getter + 68 (<compiler-generated>:0)
9 SwiftUI 0x199efb3f8 ListCoreCoordinator.tableView(_:didSelectRowAt:) + 908 (ListCore_PhoneTV.swift:1250)
10 SwiftUI 0x199efb6e4 #objc ListCoreCoordinator.tableView(_:willBeginEditingRowAt:) + 136
11 UIKitCore 0x1960860d0 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:isCellMultiSelect:] + 1064 (UITableView.m:8278)
12 UIKitCore 0x196085c8c -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 112 (UITableView.m:8192)
13 UIKitCore 0x196086438 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 272 (UITableView.m:8317)
14 UIKitCore 0x19634b544 -[_UIAfterCACommitBlock run] + 72 (_UIAfterCACommitQueue.m:122)
15 UIKitCore 0x195e90400 _runAfterCACommitDeferredBlocks + 300 (UIApplication.m:2924)
16 UIKitCore 0x195e7f1bc _cleanUpAfterCAFlushAndRunDeferredBlocks + 204 (UIApplication.m:2902)
17 UIKitCore 0x195eb2648 _afterCACommitHandler + 80 (UIApplication.m:2958)
18 CoreFoundation 0x1934e2444 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 (CFRunLoop.c:1799)
19 CoreFoundation 0x1934dc858 __CFRunLoopDoObservers + 576 (CFRunLoop.c:1912)
20 CoreFoundation 0x1934dce08 __CFRunLoopRun + 1056 (CFRunLoop.c:2953)
21 CoreFoundation 0x1934dc4bc CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
22 GraphicsServices 0x1a9f61820 GSEventRunModal + 164 (GSEvent.c:2259)
23 UIKitCore 0x195e80734 -[UIApplication _run] + 1072 (UIApplication.m:3270)
24 UIKitCore 0x195e85e10 UIApplicationMain + 168 (UIApplication.m:4739)
25 SwiftUI 0x19a23d32c closure #1 in KitRendererCommon(_:) + 112 (UIKitApp.swift:34)
26 SwiftUI 0x19a23d2b8 runApp<A>(_:) + 220 (<compiler-generated>:0)
27 SwiftUI 0x199db6b08 static App.main() + 140 (App.swift:113)
28 Pupl 0x100d5311c $main + 56 (Assignment.swift:0)
29 Pupl 0x100d5311c main + 68
30 libdyld.dylib 0x1931a3e60 start + 4
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001bf49798c __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001daabfc74 pthread_kill + 272 (pthread.c:1375)
2 libsystem_c.dylib 0x000000019c668bb4 abort + 104 (abort.c:110)
3 libc++abi.dylib 0x00000001a76dfe24 abort_message + 132 (abort_message.cpp:76)
4 libc++abi.dylib 0x00000001a76d1434 demangling_terminate_handler() + 308 (cxa_default_handlers.cpp:67)
5 libobjc.A.dylib 0x00000001a75e0710 _objc_terminate() + 132 (objc-exception.mm:701)
6 libc++abi.dylib 0x00000001a76df2a8 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x00000001a76e2174 __cxa_rethrow + 148 (cxa_exception.cpp:617)
8 libobjc.A.dylib 0x00000001a75e05ec objc_exception_rethrow + 44 (objc-exception.mm:604)
9 CoreFoundation 0x00000001934dc5a8 CFRunLoopRunSpecific + 836 (CFRunLoop.c:3257)
10 GraphicsServices 0x00000001a9f61820 GSEventRunModal + 164 (GSEvent.c:2259)
11 UIKitCore 0x0000000195e80734 -[UIApplication _run] + 1072 (UIApplication.m:3270)
12 UIKitCore 0x0000000195e85e10 UIApplicationMain + 168 (UIApplication.m:4739)
13 SwiftUI 0x000000019a23d32c closure #1 in KitRendererCommon(_:) + 112 (UIKitApp.swift:34)
14 SwiftUI 0x000000019a23d2b8 runApp<A>(_:) + 220 (<compiler-generated>:0)
15 SwiftUI 0x0000000199db6b08 static App.main() + 140 (App.swift:113)
16 Pupl 0x0000000100d5311c $main + 56 (Assignment.swift:0)
17 Pupl 0x0000000100d5311c main + 68
18 libdyld.dylib 0x00000001931a3e60 start + 4
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000016f0bad10 x5: 0x000000016f0bb2c0 x6: 0x000000000000006e x7: 0x0000000000000700
x8: 0x00000000000005b9 x9: 0x0d58175f700a1725 x10: 0x0000000000000002 x11: 0x0000000000000003
x12: 0x0000000000000000 x13: 0x0000000000000001 x14: 0x0000000000000010 x15: 0x0000000000000046
x16: 0x0000000000000148 x17: 0x00000001010838c0 x18: 0x000000010b9b6d8c x19: 0x0000000000000006
x20: 0x0000000000000407 x21: 0x00000001010839a0 x22: 0x0000000000000001 x23: 0x00000002835989d0
x24: 0x0000000000000000 x25: 0x0000000000000001 x26: 0x0000000eb1e31100 x27: 0x00000001e70b3000
x28: 0x0000000000000001 fp: 0x000000016f0bb220 lr: 0x00000001daabfc74
sp: 0x000000016f0bb200 pc: 0x00000001bf49798c cpsr: 0x40000000
esr: 0x56000080 Address size fault
Note the WeightCategoryEditorViewModel.init on frame 4. This is the frame that changes between crash logs, but the subsequent frames are the same. Here's the init for the WeightCategoryEditorViewModel:
/// Creates a new model which edits the given weight category.
init(weightCategory: WeightCategory, color: Color = .accentColor, context: NSManagedObjectContext) {
self.context = context
self.weightCategory = weightCategory
self.accentColor = color
self.isEditing = true
self.name = weightCategory.name
self.weight = String(format: "%.0f", weightCategory.weight)
}
Anyone know what my next steps should be?

Binary Rejected

I have submitted my app to Review and it was rejected.
To sum up, Apple said my app crashed on launch, and that I should test it on a real device.
I have tested my app in several real devices, both iPhones and iPads, as well as it has been tested through TestFlight without any known crashes on launch.
They've appended the crash_log for me to analyze the issue, but I cannot identify the problem based in the information they've provided, and maybe someone can help me find what may be causing the supposed issue based in their crash_log.
I can only identify that it crashed in the Main Thread which is pretty vague.
Here's the crash_log
{"app_name":"Union","timestamp":"2018-08-12 11:03:04.14 -0700","app_version":"1.0","slice_uuid":"4fab1f57-a08b-3604-9e09-73488d1e4019","adam_id":1346010710,"build_version":"23","bundleID":"com.ivancantarino.Union","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 11.4.1 (15G77)","incident_id":"AD9ED6DF-E560-49F8-A3C9-0454A7E7EA82","name":"Union"}
Incident Identifier: AD9ED6DF-E560-49F8-A3C9-0454A7E7EA82
CrashReporter Key: 2f0a1db768819ed531b57a3f0eceba0c4e03cc30
Hardware Model: xxx1
Process: Union [272]
Path: /private/var/containers/Bundle/Application/1235D72F-63C9-49F7-B29F-9DB2EF9B8DDC/Union.app/Union
Identifier: com.ivancantarino.Union
Version: 23 (1.0)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.ivancantarino.Union [390]
Date/Time: 2018-08-12 11:03:03.8680 -0700
Launch Time: 2018-08-12 11:00:58.0841 -0700
OS Version: iPhone OS 11.4.1 (15G77)
Baseband Version: n/a
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000100f601f4
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 Union 0x0000000100f601f4 0x100dfc000 + 1458676
1 Union 0x0000000100f6635c 0x100dfc000 + 1483612
2 Union 0x0000000100f5caa8 0x100dfc000 + 1444520
3 Foundation 0x00000001820d21bc 0x1820a1000 + 201148
4 CoreFoundation 0x0000000181700c3c 0x181629000 + 883772
5 CoreFoundation 0x00000001817001b8 0x181629000 + 881080
6 CoreFoundation 0x00000001816fff14 0x181629000 + 880404
7 CoreFoundation 0x000000018177d84c 0x181629000 + 1394764
8 CoreFoundation 0x0000000181636f38 0x181629000 + 57144
9 Foundation 0x00000001820a7bbc 0x1820a1000 + 27580
10 UIKit 0x000000018b737518 0x18b337000 + 4195608
11 UIKit 0x000000018b348d94 0x18b337000 + 73108
12 UIKit 0x000000018bfde84c 0x18b337000 + 13269068
13 UIKit 0x000000018b3481ec 0x18b337000 + 70124
14 UIKit 0x000000018bdc3ac8 0x18b337000 + 11061960
15 UIKit 0x000000018bf11bf8 0x18b337000 + 12430328
16 UIKit 0x000000018b347c0c 0x18b337000 + 68620
17 UIKit 0x000000018b3475a8 0x18b337000 + 66984
18 UIKit 0x000000018b385334 0x18b337000 + 320308
19 FrontBoardServices 0x0000000183f70f24 0x183f64000 + 53028
20 libdispatch.dylib 0x0000000181060a60 0x18105f000 + 6752
21 libdispatch.dylib 0x0000000181068170 0x18105f000 + 37232
22 FrontBoardServices 0x0000000183fa4878 0x183f64000 + 264312
23 FrontBoardServices 0x0000000183fa451c 0x183f64000 + 263452
24 FrontBoardServices 0x0000000183fa4ab8 0x183f64000 + 264888
25 CoreFoundation 0x0000000181717404 0x181629000 + 975876
26 CoreFoundation 0x0000000181716c2c 0x181629000 + 973868
27 CoreFoundation 0x000000018171479c 0x181629000 + 964508
28 CoreFoundation 0x0000000181634da8 0x181629000 + 48552
29 GraphicsServices 0x000000018361a020 0x18360f000 + 45088
30 UIKit 0x000000018b654758 0x18b337000 + 3266392
31 Union 0x0000000100e031e4 0x100dfc000 + 29156
32 libdyld.dylib 0x00000001810c5fc0 0x1810c5000 + 4032
Thread 1 name: com.apple.uikit.eventfetch-thread
Thread 1:
0 libsystem_kernel.dylib 0x00000001811d3de8 0x1811d3000 + 3560
1 libsystem_kernel.dylib 0x00000001811d3c60 0x1811d3000 + 3168
2 CoreFoundation 0x0000000181716e40 0x181629000 + 974400
3 CoreFoundation 0x0000000181714908 0x181629000 + 964872
4 CoreFoundation 0x0000000181634da8 0x181629000 + 48552
5 Foundation 0x00000001820a9674 0x1820a1000 + 34420
6 Foundation 0x00000001820a951c 0x1820a1000 + 34076
7 UIKit 0x000000018b339768 0x18b337000 + 10088
8 Foundation 0x00000001821b9efc 0x1820a1000 + 1150716
9 libsystem_pthread.dylib 0x0000000181395220 0x181393000 + 8736
10 libsystem_pthread.dylib 0x0000000181395110 0x181393000 + 8464
11 libsystem_pthread.dylib 0x0000000181393b10 0x181393000 + 2832
Thread 2:
0 libsystem_pthread.dylib 0x0000000181393b04 0x181393000 + 2820
Thread 3:
0 libsystem_kernel.dylib 0x00000001811f5d78 0x1811d3000 + 142712
1 libsystem_pthread.dylib 0x0000000181393eb4 0x181393000 + 3764
2 libsystem_pthread.dylib 0x0000000181393b08 0x181393000 + 2824
Thread 4:
0 libsystem_pthread.dylib 0x0000000181393b04 0x181393000 + 2820
Thread 5:
0 libsystem_pthread.dylib 0x0000000181393b04 0x181393000 + 2820
Thread 6:
0 libsystem_pthread.dylib 0x0000000181393b04 0x181393000 + 2820
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x00000001c00320e0 x1: 0x0000000000000303 x2: 0x0000000000000303 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000102009cd0 x7: 0x0000000000000000
x8: 0x00000000000003d0 x9: 0x0000000000000000 x10: 0x000001a1b39294a1 x11: 0x0000002d0000003f
x12: 0x0000000102868870 x13: 0x000021a1b39294a1 x14: 0x00000000000d52ac x15: 0x00000000000003ff
x16: 0x0000000180944250 x17: 0x00000001820b43dc x18: 0x0000000000000000 x19: 0x00000001c00320e0
x20: 0x0000000000000000 x21: 0x0000000000000000 x22: 0x00000001ac5221c0 x23: 0x00000001c0025500
x24: 0x00000001b38ce000 x25: 0x00000001b38ce000 x26: 0x0000000101e4c338 x27: 0x00000001b38c8878
x28: 0x0000000000000001 fp: 0x000000016f001880 lr: 0x0000000100f60184
sp: 0x000000016f001850 pc: 0x0000000100f601f4 cpsr: 0x20000000
Can you identify the root cause based in these information?
They've provided binary images with the crash_log but from what I'm concerned it only shows the libraries I'm using.
EDIT
After symbolicate the crash_log I got the following:
{"app_name":"Union","timestamp":"2018-08-12 11:03:04.14 -0700","app_version":"1.0","slice_uuid":"4fab1f57-a08b-3604-9e09-73488d1e4019","adam_id":1346010710,"build_version":"23","bundleID":"com.ivancantarino.Union","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 11.4.1 (15G77)","incident_id":"AD9ED6DF-E560-49F8-A3C9-0454A7E7EA82","name":"Union"}
Incident Identifier: AD9ED6DF-E560-49F8-A3C9-0454A7E7EA82
CrashReporter Key: 2f0a1db768819ed531b57a3f0eceba0c4e03cc30
Hardware Model: xxx1
Process: Union [272]
Path: /private/var/containers/Bundle/Application/1235D72F-63C9-49F7-B29F-9DB2EF9B8DDC/Union.app/Union
Identifier: com.ivancantarino.Union
Version: 23 (1.0)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.ivancantarino.Union [390]
Date/Time: 2018-08-12 11:03:03.8680 -0700
Launch Time: 2018-08-12 11:00:58.0841 -0700
OS Version: iPhone OS 11.4.1 (15G77)
Baseband Version: n/a
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000100f601f4
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 Union 0x0000000100f601f4 0x100dfc000 + 1458676
1 Union 0x0000000100f6635c 0x100dfc000 + 1483612
2 Union 0x0000000100f5caa8 0x100dfc000 + 1444520
3 Foundation 0x00000001820d21bc -[__NSObserver _doit:] + 312
4 CoreFoundation 0x0000000181700c3c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
5 CoreFoundation 0x00000001817001b8 _CFXRegistrationPost + 428
6 CoreFoundation 0x00000001816fff14 ___CFXNotificationPost_block_invoke + 216
7 CoreFoundation 0x000000018177d84c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1408
8 CoreFoundation 0x0000000181636f38 _CFXNotificationPost + 384
9 Foundation 0x00000001820a7bbc -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
10 UIKit 0x000000018b737518 -[UIApplication _sendWillEnterForegroundCallbacks] + 232
11 UIKit 0x000000018b348d94 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1388
12 UIKit 0x000000018bfde84c __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 296
13 UIKit 0x000000018b3481ec -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 432
14 UIKit 0x000000018bdc3ac8 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220
15 UIKit 0x000000018bf11bf8 _performActionsWithDelayForTransitionContext + 112
16 UIKit 0x000000018b347c0c -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 248
17 UIKit 0x000000018b3475a8 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 368
18 UIKit 0x000000018b385334 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 468
19 FrontBoardServices 0x0000000183f70f24 __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke.362 + 212
20 libdispatch.dylib 0x0000000181060a60 _dispatch_client_callout + 16
21 libdispatch.dylib 0x0000000181068170 _dispatch_block_invoke_direct$VARIANT$mp + 224
22 FrontBoardServices 0x0000000183fa4878 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36
23 FrontBoardServices 0x0000000183fa451c -[FBSSerialQueue _performNext] + 404
24 FrontBoardServices 0x0000000183fa4ab8 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
25 CoreFoundation 0x0000000181717404 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
26 CoreFoundation 0x0000000181716c2c __CFRunLoopDoSources0 + 276
27 CoreFoundation 0x000000018171479c __CFRunLoopRun + 1204
28 CoreFoundation 0x0000000181634da8 CFRunLoopRunSpecific + 552
29 GraphicsServices 0x000000018361a020 GSEventRunModal + 100
30 UIKit 0x000000018b654758 UIApplicationMain + 236
31 Union 0x0000000100e031e4 0x100dfc000 + 29156
32 libdyld.dylib 0x00000001810c5fc0 start + 4
Thread 1 name: com.apple.uikit.eventfetch-thread
Thread 1:
0 libsystem_kernel.dylib 0x00000001811d3de8 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001811d3c60 mach_msg + 72
2 CoreFoundation 0x0000000181716e40 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000181714908 __CFRunLoopRun + 1568
4 CoreFoundation 0x0000000181634da8 CFRunLoopRunSpecific + 552
5 Foundation 0x00000001820a9674 -[NSRunLoop+ 34420 (NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x00000001820a951c -[NSRunLoop+ 34076 (NSRunLoop) runUntilDate:] + 148
7 UIKit 0x000000018b339768 -[UIEventFetcher threadMain] + 136
8 Foundation 0x00000001821b9efc __NSThread__start__ + 1040
9 libsystem_pthread.dylib 0x0000000181395220 _pthread_body + 272
10 libsystem_pthread.dylib 0x0000000181395110 _pthread_body + 0
11 libsystem_pthread.dylib 0x0000000181393b10 thread_start + 4
Thread 2:
0 libsystem_pthread.dylib 0x0000000181393b04 start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x00000001811f5d78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000181393eb4 _pthread_wqthread + 928
2 libsystem_pthread.dylib 0x0000000181393b08 start_wqthread + 4
Thread 4:
0 libsystem_pthread.dylib 0x0000000181393b04 start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x0000000181393b04 start_wqthread + 0
Thread 6:
0 libsystem_pthread.dylib 0x0000000181393b04 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x00000001c00320e0 x1: 0x0000000000000303 x2: 0x0000000000000303 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000102009cd0 x7: 0x0000000000000000
x8: 0x00000000000003d0 x9: 0x0000000000000000 x10: 0x000001a1b39294a1 x11: 0x0000002d0000003f
x12: 0x0000000102868870 x13: 0x000021a1b39294a1 x14: 0x00000000000d52ac x15: 0x00000000000003ff
x16: 0x0000000180944250 x17: 0x00000001820b43dc x18: 0x0000000000000000 x19: 0x00000001c00320e0
x20: 0x0000000000000000 x21: 0x0000000000000000 x22: 0x00000001ac5221c0 x23: 0x00000001c0025500
x24: 0x00000001b38ce000 x25: 0x00000001b38ce000 x26: 0x0000000101e4c338 x27: 0x00000001b38c8878
x28: 0x0000000000000001 fp: 0x000000016f001880 lr: 0x0000000100f60184
sp: 0x000000016f001850 pc: 0x0000000100f601f4 cpsr: 0x20000000
Somehow my Union stacktrace doesn't point to any line of code as the ones below.

App rejected due to launch crash

Yesterday I have submitted binary to iTunes. And they rejected the binary due to launch crash. Also they rejected due to iPv6. I have tested my app on iPv6 network and its working fine. I don't know why this is happening.
Here is the crash report:
Version: 11 (2)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.identifier
Date/Time: 2017-07-05 10:28:28.1687 -0700
Launch Time: 2017-07-05 10:28:08.0087 -0700
OS Version: iPhone OS 10.3.2 (14F89)
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x000000018559f224 0x18559e000 + 4644
1 libsystem_kernel.dylib 0x000000018559f09c 0x18559e000 + 4252
2 libdispatch.dylib 0x0000000185490ee4 0x185479000 + 98020
3 libdispatch.dylib 0x00000001854912e8 0x185479000 + 99048
4 libxpc.dylib 0x00000001856b8ee0 0x1856b2000 + 28384
5 Security 0x00000001869dbe44 0x1869b1000 + 175684
6 Security 0x00000001869dc114 0x1869b1000 + 176404
7 Security 0x0000000186a016ec 0x1869b1000 + 329452
8 Security 0x0000000186a03730 0x1869b1000 + 337712
9 Security 0x0000000186a0078c 0x1869b1000 + 325516
10 Security 0x0000000186a01424 0x1869b1000 + 328740
11 Security 0x0000000186a0122c 0x1869b1000 + 328236
12 Security 0x00000001869ffc3c 0x1869b1000 + 322620
13 Security 0x0000000186a00d58 0x1869b1000 + 327000
14 APPNAME 0x0000000100112cf0 0x1000c8000 + 306416
15 APPNAME 0x0000000100222898 0x1000c8000 + 1419416
16 APPNAME 0x00000001002225a8 0x1000c8000 + 1418664
17 APPNAME 0x0000000100199584 0x1000c8000 + 857476
18 APPNAME 0x00000001001936f4 0x1000c8000 + 833268
19 APPNAME 0x0000000100194690 0x1000c8000 + 837264
20 UIKit 0x000000018c75e204 0x18c6dd000 + 528900
21 UIKit 0x000000018c96a738 0x18c6dd000 + 2676536
22 UIKit 0x000000018c9701e0 0x18c6dd000 + 2699744
23 UIKit 0x000000018c984d18 0x18c6dd000 + 2784536
24 UIKit 0x000000018c96d474 0x18c6dd000 + 2688116
25 FrontBoardServices 0x000000018816b884 0x188131000 + 239748
26 FrontBoardServices 0x000000018816b6f0 0x188131000 + 239344
27 FrontBoardServices 0x000000018816baa0 0x188131000 + 240288
28 CoreFoundation 0x000000018657142c 0x186496000 + 898092
29 CoreFoundation 0x0000000186570d9c 0x186496000 + 896412
30 CoreFoundation 0x000000018656e9a8 0x186496000 + 887208
31 CoreFoundation 0x000000018649eda4 0x186496000 + 36260
32 UIKit 0x000000018c757384 0x18c6dd000 + 500612
33 UIKit 0x000000018c752058 0x18c6dd000 + 479320
34 APPNAME 0x00000001001a2a98 0x1000c8000 + 895640
35 libdyld.dylib 0x00000001854ad59c 0x1854a9000 + 17820
Thread 1:
0 libsystem_pthread.dylib 0x0000000185682ca8 0x185682000 + 3240
Thread 2 name: com.apple.uikit.eventfetch-thread
Thread 2:
0 libsystem_kernel.dylib 0x000000018559f224 0x18559e000 + 4644
1 libsystem_kernel.dylib 0x000000018559f09c 0x18559e000 + 4252
2 CoreFoundation 0x0000000186570e90 0x186496000 + 896656
3 CoreFoundation 0x000000018656eae4 0x186496000 + 887524
4 CoreFoundation 0x000000018649eda4 0x186496000 + 36260
5 Foundation 0x0000000186fb8d74 0x186fac000 + 52596
6 Foundation 0x0000000186fd9b44 0x186fac000 + 187204
7 UIKit 0x000000018d0dc6a8 0x18c6dd000 + 10483368
8 Foundation 0x00000001870b62d8 0x186fac000 + 1090264
9 libsystem_pthread.dylib 0x000000018568568c 0x185682000 + 13964
10 libsystem_pthread.dylib 0x000000018568559c 0x185682000 + 13724
11 libsystem_pthread.dylib 0x0000000185682cb4 0x185682000 + 3252
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000010004005 x1: 0x000000000400000e x2: 0x0000000000000000 x3: 0x0000000000004000
x4: 0x000000000000680b x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000050
x8: 0x00000000fffffbbf x9: 0x000000016fd90000 x10: 0x000000016fd352f0 x11: 0x0000000000000018
x12: 0x000000016fd352f0 x13: 0x00000000000000d3 x14: 0x0000000000000000 x15: 0x0000000800000000
x16: 0xffffffffffffffe1 x17: 0xfffffff2ffffffff x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x0000000000000000 x21: 0x000000000000680b x22: 0x0000000000004000 x23: 0x000000016fd312f0
x24: 0x000000000400000e x25: 0x0000000000000000 x26: 0x000000000400000e x27: 0x00000000fffffefb
x28: 0x00000000efffbffe fp: 0x000000016fd312e0 lr: 0x000000018559f09c
sp: 0x000000016fd31290 pc: 0x000000018559f224 cpsr: 0x20000000
Please help me out.
I had faced the same issue. Mine was also rejected due to IPV6. Check below two things for your application:
1) Make sure you API link which you used in your application, doesn't have any ip address. If you calling API using IPAddress then your application will be rejected.
2) Do testing your application using IPV6 network through your system. Here is the link.
If your application is fullfill both testcase, then don't do any thing, just right comment in iTuneConnect and told them that my application is running in IPV6 network. Can you please guide to find my issue? If possible then can I have a call with your representative?
So they ask your contact detail and give you call and your issue will resvoled. I have wasted around 20 days to solved this issue. But apple representative told that this is them internal issue.
So my humble advice to contact Apple representative as soon as possible and your issue will resolve without doing anything.

iOS App (Using Core Data) Crashes After Update, But Only App Store Version

I have a serious problem with an iOS 9.1 app: I have updated the app, successfully tested it on several iPhone devices, submitted it to the App Store and Apple reviewed and rolled out the app. The app uses Core Data.
The problem is, however, that the app crashes immediately after start up for users that installed it as an update. A crash report is listed below, however, I cannot find the real problem with it (also because not everything is symbolised). If I run it on the same device directly via Xcode, the app works fine and does not crash.
Any ideas of how I could find the error?
Thanks very much for any hint!
Incident Identifier: 82CFBBFB-D78F-45B8-B7B1-5CA927889673
CrashReporter Key: b74b72673e3b94fca688b2e61a466eb9826dc424
Hardware Model: iPhone7,1
Process: MyAppName [826]
Path: /private/var/mobile/Containers/Bundle/Application/13C779F5-8CEB-4815-AF64-18B08827CDEE/MyAppName.app/MyAppName
Identifier: com.myappdomain.MyAppName
Version: 20151128 (1.4)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2015-12-02 07:07:58.58 +0100
Launch Time: 2015-12-02 07:07:57.57 +0100
OS Version: iOS 9.1 (13B143)
Report Version: 105
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x200000001576a714
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 MyAppName 0x0000000100071a64 0x100040000 + 203364
1 MyAppName 0x00000001000721a0 0x100040000 + 205216
2 MyAppName 0x0000000100071d2c 0x100040000 + 204076
3 MyAppName 0x0000000100073624 0x100040000 + 210468
4 MyAppName 0x00000001000718d8 0x100040000 + 202968
5 MyAppName 0x0000000100071978 0x100040000 + 203128
6 MyAppName 0x0000000100071a20 0x100040000 + 203296
7 MyAppName 0x0000000100072848 0x100040000 + 206920
8 MyAppName 0x0000000100072e08 0x100040000 + 208392
9 MyAppName 0x000000010006c6f8 0x100040000 + 182008
10 MyAppName 0x000000010006fe68 0x100040000 + 196200
11 MyAppName 0x000000010006afdc 0x100040000 + 176092
12 UIKit 0x00000001883f4654 -[UIViewController _setViewAppearState:isAnimating:] + 724
13 UIKit 0x00000001884b45c8 -[UINavigationController viewDidAppear:] + 220
14 UIKit 0x00000001883f4654 -[UIViewController _setViewAppearState:isAnimating:] + 724
15 UIKit 0x00000001885239b8 -[UITabBarController viewDidAppear:] + 128
16 UIKit 0x00000001883f4654 -[UIViewController _setViewAppearState:isAnimating:] + 724
17 UIKit 0x00000001884654f0 __64-[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:]_block_invoke + 44
18 UIKit 0x000000018846548c -[UIViewController _executeAfterAppearanceBlock] + 92
19 UIKit 0x000000018868c674 _runAfterCACommitDeferredBlocks + 556
20 UIKit 0x00000001886994bc _cleanUpAfterCAFlushAndRunDeferredBlocks + 92
21 CoreFoundation 0x0000000182e0042c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
22 CoreFoundation 0x0000000182dffd64 __CFRunLoopDoBlocks + 308
23 CoreFoundation 0x0000000182dfdcc8 __CFRunLoopRun + 708
24 CoreFoundation 0x0000000182d2cca0 CFRunLoopRunSpecific + 384
25 GraphicsServices 0x000000018df68088 GSEventRunModal + 180
26 UIKit 0x0000000188444ffc UIApplicationMain + 204
27 MyAppName 0x00000001000581e4 0x100040000 + 98788
28 libdyld.dylib 0x000000019824a8b8 start + 4
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x00000001983684fc kevent_qos + 8
1 libdispatch.dylib 0x000000019822ca04 _dispatch_mgr_invoke + 232
2 libdispatch.dylib 0x000000019821b874 _dispatch_source_invoke + 0
Thread 2:
0 libsystem_kernel.dylib 0x0000000198367b6c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x000000019842d530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x000000019842d020 start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x0000000198367b6c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x000000019842d530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x000000019842d020 start_wqthread + 4
Thread 4:
0 libsystem_kernel.dylib 0x0000000198367b6c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x000000019842d530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x000000019842d020 start_wqthread + 4
Thread 5:
0 libsystem_kernel.dylib 0x0000000198367b6c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x000000019842d530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x000000019842d020 start_wqthread + 4
Thread 6:
0 libsystem_kernel.dylib 0x0000000198367b6c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x000000019842d530 _pthread_wqthread + 1284
2 libsystem_pthread.dylib 0x000000019842d020 start_wqthread + 4
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x00000001576a7350 x1: 0x000000015769c200 x2: 0x0000000000000000 x3: 0x0000000100071a40
x4: 0x000000016fdbdf60 x5: 0x000000016fdbdf68 x6: 0x0000000000000000 x7: 0x0000000000000004
x8: 0x200000001576a69c x9: 0x0000000000000018 x10: 0x0000000000000000 x11: 0x0000000300000003
x12: 0x000000015755f2f0 x13: 0x0000000000003fff x14: 0xffffffffffffc000 x15: 0x0000000000003fff
x16: 0x000000010027da54 x17: 0x0000000182e438dc x18: 0x0000000000000000 x19: 0x000000015769c200
x20: 0x00000001576a7350 x21: 0x000000016fdbe260 x22: 0x000000015769c200 x23: 0x000000015769c200
x24: 0x000000015769ccd0 x25: 0x000000015808fc20 x26: 0x000000010006ff58 x27: 0x000000016fdbe198
x28: 0x0000000000000002 fp: 0x000000016fdbe060 lr: 0x00000001000721a0
sp: 0x000000016fdbe020 pc: 0x0000000100071a64 cpsr: 0x20000000
Just in case someone else experiences this issue:
The problem is actually a bug in Swift's implementation of array. The following code crashes in release mode:
myarr.sortInPlace($0.date < $1.date)
However, this code works just fine:
myarr = myarr.sort($0.date < $1.date)
More about this issue (which is hopefully solved soon by Apple) can be found here:
https://forums.developer.apple.com/thread/23455

Resources