11---
2- title : Publish .NET apps for Mac OS
3- description : Learn how to publish .NET applications for Mac OS , including signing, notarization, and app entitlements.
2+ title : Publish .NET apps for macOS
3+ description : Learn how to publish .NET applications for macOS , including signing, notarization, and app entitlements.
44author : agocke
55ms.author : angocke
66ms.date : 10/22/2025
77ms.topic : how-to
88ai-usage : ai-assisted
99---
1010
11- # Publish .NET apps for Mac OS
11+ # Publish .NET apps for macOS
1212
13- Publishing .NET applications for Mac OS requires several additional steps compared to other platforms, due to Apple's security requirements.
13+ Publishing .NET applications for macOS requires several additional steps compared to other platforms, due to Apple's security requirements.
1414
1515## Prerequisites
1616
17- Before you publish your .NET application for Mac OS , ensure you have the following:
17+ Before you publish your .NET application for macOS , ensure you have the following:
1818
1919- ** Apple Developer Account** : Needed for code signing and notarization.
2020- ** Xcode Command Line Tools** : Provides ` codesign ` , ` altool ` , and other utilities.
@@ -36,6 +36,13 @@ For CoreCLR apps, the `com.apple.security.cs.allow-jit` entitlement is required.
3636
3737For Native AOT apps, no entitlements are required.
3838
39+ ### Optional entitlements for debugging and diagnostics
40+
41+ The following entitlements enable additional debugging and diagnostic capabilities:
42+
43+ - ** ` com.apple.security.get-task-allow ` ** : Needed for dump collection with ` createdump ` and ` dotnet dump ` .
44+ - ** ` com.apple.security.cs.debugger ` ** : Needed to attach a debugger to the process.
45+
3946## Sign and notarize
4047
4148Use Apple's developer documentation to sign and notarize the binary.
0 commit comments