<!--
{
  "availability" : [
    "macOS: 15.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemExtensions",
  "identifier" : "/documentation/SystemExtensions/OSSystemExtensionsWorkspace/addObserver(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "System Extensions"
    ],
    "preciseIdentifier" : "c:objc(cs)OSSystemExtensionsWorkspace(im)addObserver:error:"
  },
  "title" : "addObserver(_:)"
}
-->

# addObserver(_:)

```
func addObserver(_ observer: any OSSystemExtensionsWorkspaceObserver) throws
```

## Discussion\abstract Start observing changes to System Extension(s) which are enabled or ready to be enabled.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)