Sorry if it's really basic.
This is definitely not basic. Getting all of these ducks to line up is a significant challenge. My point is that there are lots of resources to help you.
But I really don't know where to start.
I suggest you start with the documentation for the PIR Service Example package:
- Go to the page I linked to above.
- At the top right you’ll see a link to the documentation on the Swift Package Index. Click that.
- Explore that documentation.
can we run it on xcode … ?
Quoting the read me for that package:
- macOS or Linux operating system
- Swift version 6.0 or later
- Optionally, XCode version 16.1 or later
can we … connect to our device locally?
Yes. The process is described in the Testing NEURLFilter article, which is part of the package documentation.
And on the server we can just run in on docker?
I expect so. In general, server-side Swift packages that build for Linux can be deployed via Docker. As to whether this specific one can be, I don’t have experience with that myself. But this is like any other open source project. You can either try it for yourself, or engage with the project community.
Oh, and speaking of Linux-based containers, there’s an Swift open source project for running those. If you’re interested, check out WWDC 2025 Session 346 Meet Containerization.
Finally, I want to be clear about a couple of things:
- DTS doesn’t support open source projects, and that includes open source projects from Apple. From our perspective open source code is your code.
- We also don’t support non-Apple platforms, like Linux or Docker. Those platforms have their own support processes.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"