How can I symbolicate my iOS crash report?

Kim Strasser 1,201 Reputation points
2025-01-15T11:04:45.6933333+00:00

I have uploaded my application to TestFlight but it always crashes when I start it on my iPad. I have tried to open the crash report file crashlog.crash in Xcode-->Window-->Devices and Simulators. But the crash report is not symbolicated.

How can I symbolicate my crash report? Is it necessary to do something in Visual Studio on Windows when I create the .ipa file to symbolicate the crash report or is it necessary to symbolicate the crash report somehow in Xcode on my Mac?

https://developer.apple.com/documentation/xcode/adding-identifiable-symbol-names-to-a-crash-report

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,833 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,556 Reputation points Microsoft Vendor
    2025-01-16T06:53:28.95+00:00

    Hello,

    Is it necessary to do something in Visual Studio on Windows when I create the .ipa file to symbolicate the crash report or is it necessary to symbolicate the crash report somehow in Xcode on my Mac?

    Yes, you could add the following to your csproj, this will let the methods be symbolicated instead of showing up as only memory addresses.

    <PropertyGroup>
        <NoSymbolStrip>true</NoSymbolStrip>
    </PropertyGroup>
    

    How can I symbolicate my crash report?

    This is really an iOS question but not a MAUI question. Please see Symbolicate the crash report in Xcode.

    For getting the dSYMs file, you can also follow the steps: open Xcode->Window->Organizer->your app ->Archives->select the archive->right-click and Show in Finder-> right-click the .xcarchive file-> Show Package Contents.

    And I found a same issue reported at Apple developer forum- https://developer.apple.com/forums/thread/772077, you could add comments and post your concerns.

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Bruce (SqlWork.com) 69,501 Reputation points
    2025-01-17T17:10:47.9466667+00:00

    you want to ArchiveOnBuild on publish:

    https://learn.microsoft.com/en-us/dotnet/maui/ios/deployment/publish-cli?view=net-maui-9.0

    then in Xcode, open the Organizer window, then archives. you can than find the symbol file created by the build. then you can add symbols to the crash:

    https://developer.apple.com/documentation/xcode/adding-identifiable-symbol-names-to-a-crash-report

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.