Allow macOS 15 to list and delete networks#1464
Merged
jglogan merged 1 commit intoapple:mainfrom Apr 29, 2026
Merged
Conversation
Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
jglogan
approved these changes
Apr 29, 2026
chrisgeo
pushed a commit
to full-chaos/container
that referenced
this pull request
Apr 29, 2026
- A recent change moved the list and delete network XPC calls within an availability check, making them only available on macOS 26. However, there are some code flows that rely on being able to call `list` on the NetworksService, including anything that uses `networkClient.builtin`. - `container` does not officially support macOS 15 and as a result we do not have GitHub action runners for validation on macOS 15. That said, we try to avoid breaking compatibility on macOS 15 as much as possible. Signed-off-by: Kathryn Baldauf <k_baldauf@apple.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.
Type of Change
Motivation and Context
A recent change moved the list and delete network XPC calls within an availability check, making them only available on macOS 26. However, there are some code flows that rely on being able to call
liston the NetworksService, such as here.containerdoes not officially support macOS 15 and as a result we do not have GitHub action runners for validation on macOS 15. That said, we try to avoid breaking compatibility on macOS 15 as much as possible. This PR allows macOS clients to calllistanddeleteon networks.Testing