HELP - App Crash

Hello,

I'm a Flutter developer and I'm trying to deploy my first IOS app (I don't know anything about the Apple world). I managed to submit the app on the appstore via codeMagic, but I couldn't test it before not having an iPhone or a mac! Apple sent me 2 crashlogs telling me that they tried to launch the app, but it crashed. I understood that I had to symbolic logs to get more info, but I'm reaching the limits of what I can do with the CodeMagic VM (20mn sessions, and I don't know anything about macOS...) I tried symbolizing with macSymbolicator but it doesn't work, it says it doesn't understand crashlogs (unknown format)

Could someone do it for me please and tell me what crashes??

I can provide the artifacts and the 2 crashlogs from Apple

Thank you in advance !

Sebastian, Nantes

I precise that developed it with Flutter, that's why I managed to push it to appstore without having mac and iphone.

The crashlogs are here : https://drive.google.com/file/d/1ZdSxcr-roAUe3Tm7SLqny8uKef4cMni4/view?usp=sharing https://drive.google.com/file/d/1vTKdI7OPbKtpFO4hydepFduzS_YPzD_O/view?usp=sharing

Can someone symbolicate it forme me please ? Thanks !

I couldn't test it before not having an iPhone or a mac!

Realistically, this is not a valid development strategy. While you may be able to get past this problem, you will eventually run into some issue that requires you to test on real hardware. I recommend that you raise this issue with whoever is paying the bills here.

Can someone symbolicate it forme me please ?

No, sorry.

At looked at one of your crash reports and it appears to be slightly munged. Specifically, a JSON-style crash report typically contains two JSON dictionaries:

  • A header, which is flattened to a single line

  • The main crash report payload

In your case the header is split across multiple lines. Once I joined that back into a single line, I was able to parse the crash report in Xcode. It shows this:

Exception Type:  EXC_CRASH (SIGABRT)

which indicates that your app crashed itself by calling abort, and this:

Last Exception Backtrace:
0   CoreFoundation    … __exceptionPreprocess + 216
1   libobjc.A.dylib   … objc_exception_throw + 56
2   CoreFoundation    … __CFDictionaryCreateGeneric + 0
3   FirebaseAuth      … +[FIRAuth auth] + 92
4   Runner            … 0x102670000 + 803712
5   Flutter           … 0x103d18000 + 127904
6   GoogleUtilities   … -[GULAppDelegateSwizzler application:donor_didRegisterForRemoteNotificationsWithDeviceToken:] + 264
7   UIKitCore         … __63-[UIApplication pushRegistry:didUpdatePushCredentials:forType:]_block_invoke + 108
8   libdispatch.dylib … _dispatch_call_block_and_release + 24

which might offer some hints as to why it did that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hi, thanks a lot for Help.

I know that it is not a good strategy to test without a real device, I'm looking for a ios developper too to help me :).

Thanks a lot for this analysis, I see that it's a problem with the firebase cloud messaging config (APN...)

Intersting thins in the comments of the code of this method :

  • We have to opt out of referencing APNS related App Delegate methods directly to prevent
  • an Apple review warning email about missing Push Notification Entitlement
  • (like here: https://github.com/firebase/firebase-ios-sdk/issues/2807). From our experience, the
  • warning is triggered when any of the symbols is present in the application sent to review, even
  • if the code is never executed. Because GULAppDelegateSwizzler may be used by applications that
  • are not using APNS we have to refer to the methods indirectly using selector constructed from
  • string.

I have to test it with a ios developper to see deeply the problem.

Thanks a lot.

HELP - App Crash
 
 
Q