Hello, i received these crash logs from apple review team, my app runs without errors in simulators on my machine in debug mode, any suggestion on what to investigate more?
[NSObject(NSObject) _copyDescription] crash
Both of these crash reports look like the same issue, so I’m going to focus on the first.
The presence of the Last Exception Backtrace
section indicates that your app crashed due to unhandled language language exception. The associated backtrace looks like this:
Last Exception Backtrace:
0 CoreFoundation … __exceptionPreprocess + 164
1 libobjc.A.dylib … objc_exception_throw + 60
2 CoreFoundation … +[NSObject(NSObject) _copyDescription] + 0
3 CoreFoundation … ___forwarding___ + 1592
4 CoreFoundation … _CF_forwarding_prep_0 + 96
5 Runner … 0x104418000 + 704028
6 Flutter … 0x106d8c000 + 6034344
7 Flutter … 0x106d8c000 + 229592
8 Flutter … 0x106d8c000 + 3362700
9 Flutter … 0x106d8c000 + 2973076
10 Flutter … 0x106d8c000 + 2980852
11 CoreFoundation … __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
12 CoreFoundation … __CFRunLoopDoTimer + 940
13 CoreFoundation … __CFRunLoopDoTimers + 288
14 CoreFoundation … __CFRunLoopRun + 1896
15 CoreFoundation … CFRunLoopRunSpecific + 612
16 GraphicsServices … GSEventRunModal + 164
17 UIKitCore … -[UIApplication _run] + 888
18 UIKitCore … UIApplicationMain + 340
19 Runner … 0x104418000 + 34316
20 dyld … start + 2528
…
Frame 5 is your app. Frames 4 through 2 suggest that you called a method on an object of the wrong type. That triggered Objective-C’s method forwarding infrastructure, which then detected a problem and threw the exception.
The first step in debugging this is to identity the code in frame 5. To do that you need to symbolicate your log. See Adding Identifiable Symbol Names to a Crash Report.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"