Reputation: 30388
How do I generate symbols file for my .NET MAUI app?
Is it this setting?
<MtouchNoSymbolStrip>True</MtouchNoSymbolStrip>
Right clicked project and selected Properties
. Under iOS > Build, I unchecked Symbols
. It was originally checked.
I tried building/publishing with that setting but I still don’t see a .dSYM
file anywhere in the publish folder.
Upvotes: 5
Views: 1838
Reputation: 15322
The .dSYM
file is generated automatically by Xcode when we publish a Release
build of our iOS / MacCatalyst .NET MAUI apps on macOS .
For example, here is how to publish a .NET MAUI app for iOS:
dotnet publish -f net9.0-ios -c Release -p:ArchiveOnBuild=true -p:RuntimeIdentifier=ios-arm64 -p:CodesignKey="Apple Distribution: John Smith (AY2GDE9QM7)" -p:CodesignProvision="MyMauiApp"
After publishing the iOS/MacCatalyst app using dotnet publish
, you can find + retrieve the .dSYM
file using the following steps:
Window
-> Organizer
cmd + option + shift + o
.dsym
fileArchives
Show in Finder
.xcarchive
file, right-click
-> Show Package Contents
dSYMS
folder where you .dSYM
file is locatedUpvotes: 6