-
Notifications
You must be signed in to change notification settings - Fork 6k
Add publishing guidance for macOS applications #49417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: agocke <515774+agocke@users.noreply.github.com>
Co-authored-by: agocke <515774+agocke@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds new documentation for publishing .NET applications on Mac OS, addressing Apple-specific requirements like code signing, notarization, and entitlements. The document is AI-assisted and follows the repository's style guidelines.
Key changes:
- New how-to guide covering Mac OS publishing prerequisites and steps
- Documentation of platform-specific entitlement requirements for CoreCLR vs Native AOT apps
- Security guidance on signing and notarization requirements
|
||
### Entitlements for CoreCLR apps | ||
|
||
For CoreCLR apps, the `com.apple.security.cs.allow-jit` entitlement is required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should consider adding information about the other entitlements that may be useful for .NET tooling (such as get-task-allow
for createdump
and dotnet dump
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it would be good to outline that:
com.apple.security.get-task-allow
is needed for dump collectioncom.apple.security.cs.debugger
-- needed to attach debugger to the process
@copilot Please add this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the debugging entitlements in commit 115eefc:
com.apple.security.get-task-allow
for dump collectioncom.apple.security.cs.debugger
for attaching debuggers
Also fixed the macOS branding throughout the document.
Co-authored-by: agocke <515774+agocke@users.noreply.github.com>
Summary
Created a new macOS publishing documentation page at
docs/core/deploying/macos.md
that provides:com.apple.security.cs.allow-jit
entitlementcom.apple.security.get-task-allow
for dump collection andcom.apple.security.cs.debugger
for attaching debuggersThe documentation follows all repository writing style guidelines:
This pull request was created as a result of the following prompt from Copilot chat.
Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Internal previews