Search code examples
iosxcodeswiftarchivecrash-dumps

Xcode symbolication without an archive


I'm developing an IOS App using Xcode. When I install my App from Xcode and I start it from Xcode, if the App crash then I can see clearly the error in the debugger.

Now, I disconnect my device from Xcode, I start the App and then there's a bug and it crashes. I plug again my device on Xcode and I use the "Device" window to get the crash logs of the App but there's no symbolication and then I cannot analyse the crash :-(

In this situation is there a way to get the symbolication or is it mandatory to first generate an Archive and to install it on the device to get the benefit of the Symbolication?

It will be easier for me, as a Developer to analyse the crash of my App from my Device without having to create and install every time a new archive.

How do you proceed? I'm developing in Swift but I think it's not important...

Thanks for the help,

Seb.


Solution

  • First off, why can't you get the crash information from the debugger? It'll likely tell you just as much as the crash log is going to tell you...

    Second, a symbolication file is built everytime you run a project. According to this answer it's located at:

    /Users//Library/Developer/Xcode/DerivedData/{project}/Build/Products/Debug-iphonesimulator
    

    That location will change depending on the project and the environment you are building for/debugging.