Add sandbox + network.client entitlements to the LP-100A extension - #5
Merged
Merged
Conversation
ExtensionKit extensions must be sandboxed for macOS to register and load them (an unsandboxed/ad-hoc .appex is never discovered). Add Xcode/Extension/ LP100A.entitlements (com.apple.security.app-sandbox + network.client for the LAN WebSocket connection) and wire CODE_SIGN_ENTITLEMENTS + ENABLE_HARDENED_RUNTIME (required for notarization) in project.yml. Used by the Amateur Radio Suite signing runbook (Proof 2): embed this .appex in LP-100A-App.app, sign + notarize, and macOS registers it for the suite host to load. No effect on the standalone app / plain swift build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of making the out-of-process plugin actually load in the Amateur Radio Suite.
macOS will not register/load an ExtensionKit
.appexunless it is sandboxed (and properly signed). This adds the missing entitlements to the LP-100A extension:Xcode/Extension/LP100A.entitlements—com.apple.security.app-sandbox+com.apple.security.network.client(LP-100A connects out to the LP-100A WebSocket server on the LAN).CODE_SIGN_ENTITLEMENTS+ENABLE_HARDENED_RUNTIME(needed for notarization) inproject.yml.This is the LP-100A side of Proof 2 in the suite's SIGNING-RUNBOOK.md: embed this
.appexinLP-100A-App.app, sign + notarize, and the extension registers for the suite host to discover and load.No effect on the standalone app or the plain
swift build—.appex/Xcode-target only.🤖 Generated with Claude Code