swiftxcodedwarfsymbolicatedsym

symbolicate line number exactly in swift closure?


Is possible to get line number of crash exactly when error is in a swift closure ?

I can't get line number exactly when I re-symbolicate device log or using crash report on firebase, I can just know it happens on which closure, what I miss ?

enter image description here


Solution

  • I'm sorry it is not possible

    Your code doesn't exist in the compiled binary because the compiler changes your code code to optimise it in Release.

    The solution is to use crash tools (See Crashlytics) or throw out NSLog()