Skip to content

Allow macOS 15 to list and delete networks#1464

Merged
jglogan merged 1 commit intoapple:mainfrom
katiewasnothere:allow_older_macos_net_del_and_list
Apr 29, 2026
Merged

Allow macOS 15 to list and delete networks#1464
jglogan merged 1 commit intoapple:mainfrom
katiewasnothere:allow_older_macos_net_del_and_list

Conversation

@katiewasnothere
Copy link
Copy Markdown
Contributor

Type of Change

  • Bug fix

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 list on the NetworksService, such as here. 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. This PR allows macOS clients to call list and delete on networks.

Testing

  • Tested locally

Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
@jglogan jglogan merged commit e9891b3 into apple:main Apr 29, 2026
6 of 7 checks passed
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants