<!--
{
  "availability" : [
    "FxPlug: 4.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxPrincipal/startServicePrincipal(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(cs)FxPrincipal(cm)startServicePrincipalWithDelegate:"
  },
  "title" : "startServicePrincipal(with:)"
}
-->

# startServicePrincipal(with:)

Start your XPC service listening for connections from the host application.

```
class func startServicePrincipal(with delegate: (any FxPrincipalDelegate)!)
```

## Parameters

`delegate`

An object that implements the [`FxPrincipalDelegate`](/documentation/professional_video_applications/FxPrincipalDelegate) or `nil`.

## Discussion

Once a connection is established, your delegate will be informed of the host application’s ID and version.

---

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)