Seeking assistance with Crash Report related to CoreData

Hello!

First time poster here. I'm trying to get my very first app approved for TestFlight, but it was rejected due to crashing immediately on opening on an iPad13, 16 with iOS 16.5.1.

I don't have an iPad, and I don't know how to simulate that iOS version in Xcode. I've been unable to replicate the crash. I have, however, changed how I initialize my CoreData objects with the hopes that this will fix the problem, but I'm not hopeful.

Because of this, I'd love your assistance in understanding specifically what's going on in the Crash Report.

Incident Identifier: 7C68477E-CB01-4006-B45B-130C529FEF9D
CrashReporter Key:   679748c72048575c5f124626f8ea99af9191283d
Hardware Model:      iPad13,16
Process:             iGPT [1702]
Path:                /private/var/containers/Bundle/Application/86B14D89-D61E-45D5-A6F1-061FEDCBA493/iGPT.app/iGPT
Identifier:          net.devonmartin.iGPT
Version:             1.0 (1)
AppStoreTools:       14E221
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           net.devonmartin.iGPT [1355]

Date/Time:           2023-07-07 20:01:03.5510 -0700
Launch Time:         2023-07-07 20:01:03.4516 -0700
OS Version:          iPhone OS 16.5.1 (20F75)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  0

Application Specific Information:
abort() called


Last Exception Backtrace:
0   CoreFoundation                	       0x1d5970cb4 __exceptionPreprocess + 164
1   libobjc.A.dylib               	       0x1cea8c3d0 objc_exception_throw + 60
2   CoreData                      	       0x1dd096454 -[NSManagedObject initWithEntity:insertIntoManagedObjectContext:] + 452
3   iGPT                          	       0x10007972c @objc Conversation.init(entity:insertInto:) + 186156 (<compiler-generated>:0)
4   CoreData                      	       0x1dd095d54 -[NSManagedObject initWithContext:] + 232
5   iGPT                          	       0x10005b1a8 specialized static DemoConversationViewModel.makeConversation() + 61864 (DemoConversationViewModel.swift:46)
6   iGPT                          	       0x1000abc5c IntroView.body.getter + 392284 (IntroView.swift:60)
7   SwiftUI                       	       0x1d9256ec4 0x1d91fb000 + 376516
8   SwiftUI                       	       0x1d9243008 0x1d91fb000 + 294920
9   SwiftUI                       	       0x1d9230124 0x1d91fb000 + 217380
10  SwiftUI                       	       0x1d924e458 0x1d91fb000 + 341080
11  SwiftUI                       	       0x1d9810ad4 0x1d91fb000 + 6380244
12  AttributeGraph                	       0x1f986fe48 AG::Graph::UpdateStack::update() + 520
13  AttributeGraph                	       0x1f986f748 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 424
14  AttributeGraph                	       0x1f9870758 AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 328
15  AttributeGraph                	       0x1f986df98 AGGraphGetValue + 212
16  SwiftUI                       	       0x1d924e35c 0x1d91fb000 + 340828
17  SwiftUI                       	       0x1d9810ad4 0x1d91fb000 + 6380244
18  AttributeGraph                	       0x1f986fe48 AG::Graph::UpdateStack::update() + 520
19  AttributeGraph                	       0x1f986f748 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 424
20  AttributeGraph                	       0x1f9870758 AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 328
21  AttributeGraph                	       0x1f986df98 AGGraphGetValue + 212
22  SwiftUI                       	       0x1d93813a8 0x1d91fb000 + 1598376
23  SwiftUI                       	       0x1d937df24 0x1d91fb000 + 1584932
24  SwiftUI                       	       0x1d983e654 0x1d91fb000 + 6567508
25  AttributeGraph                	       0x1f986fe48 AG::Graph::UpdateStack::update() + 520
26  AttributeGraph                	       0x1f986f748 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 424
27  AttributeGraph                	       0x1f9870758 AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 328
28  AttributeGraph                	       0x1f986df98 AGGraphGetValue + 212
29  SwiftUI                       	       0x1da1b5430 0x1d91fb000 + 16491568
30  SwiftUI                       	       0x1da1b5710 0x1d91fb000 + 16492304
31  SwiftUI                       	       0x1d9810ad4 0x1d91fb000 + 6380244
32  AttributeGraph                	       0x1f986fe48 AG::Graph::UpdateStack::update() + 520
33  AttributeGraph                	       0x1f986f748 AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 424
34  AttributeGraph                	       0x1f9870758 AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 328
35  AttributeGraph                	       0x1f986df98 AGGraphGetValue + 212
36  SwiftUI                       	       0x1d97294f0 0x1d91fb000 + 5432560
37  AttributeGraph                	       0x1f986fe48 AG::Graph::UpdateStack::update() + 520

...

Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib        	       0x213fab558 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x234c79118 pthread_kill + 268
2   libsystem_c.dylib             	       0x1dce93178 abort + 180
3   libc++abi.dylib               	       0x234bb7bf8 abort_message + 132
4   libc++abi.dylib               	       0x234ba7444 demangling_terminate_handler() + 348
5   libobjc.A.dylib               	       0x1cea91ea4 _objc_terminate() + 144
6   libc++abi.dylib               	       0x234bb6fbc std::__terminate(void (*)()) + 16
7   libc++abi.dylib               	       0x234bb9f44 __cxa_rethrow + 148
8   libobjc.A.dylib               	       0x1cea8dd5c objc_exception_rethrow + 44
9   CoreFoundation                	       0x1d59e64b0 CFRunLoopRunSpecific + 808
10  GraphicsServices              	       0x21057b35c GSEventRunModal + 164
11  UIKitCore                     	       0x1d7d736e8 -[UIApplication _run] + 888
12  UIKitCore                     	       0x1d7d7334c UIApplicationMain + 340
13  SwiftUI                       	       0x1d93b741c 0x1d91fb000 + 1819676
14  SwiftUI                       	       0x1d931d9bc 0x1d91fb000 + 1190332
15  SwiftUI                       	       0x1d9307a64 0x1d91fb000 + 1100388
16  iGPT                          	       0x1000511d0 main + 20944 (NetworkManager.swift:0)
17  dyld                          	       0x1f4eaedec start + 2220

This is as much as will fit. Thank you in advance for your help!

Please cancel. Already solved.

Seeking assistance with Crash Report related to CoreData
 
 
Q