Now, what happens when the same entity needs to work on multiple devices?
With our 2027 releases, Siri can continue conversations across devices – and your entities can be part of those conversations.
If your app runs on multiple devices, people might start a conversation on one device and continue on another. But there’s a challenge.
If I ask Siri on my iPhone to add a photo to an album…
…then switch to my other device and ask Siri to tag that photo – Siri might not be able to find that photo.
To understand why, let’s think about how entities are identified.
Every entity needs an ID – that’s how the system finds it. Your entity’s ID might be generated locally on each device. Local IDs work great eon the device they were created on.
But each device generates its own local IDs. So the same entity can end up with a different ID on each device.
For Siri to reference your entities across devices, it needs a stableID that’s the same everywhere. That could come from your server, or from CloudKit record IDs.
Then, you need a way to tell the system your entity’s ID is stable. That’s what SyncableEntity does – it declares to the system that your entity’s ID is stable and can be used across devices. Here’s how to adopt it.
I start by adding the SyncableEntity protocol to my entity.
Then, I need to provide the stable ID.
If your entity already uses an ID that’s the same across all devices, like a server-assigned UUID or a CloudKit record ID – no more changes needed.
c
But, if you use local identifiers, like CoreData row IDs, you need both: a local ID and a stable one.
a pairs them into a single ID.
On-device, your code uses the local ID…
…and across devices, the system uses the stable one.
App Intents Is The Foundation For Integrating Apps With Siri And Apple Intelligence
App Intents is the foundation for integrating your app with Siri and Apple Intelligence. It provides a structured way to describe what your app can do and the content within it.
Blackbox: Rebooting an Inventive Puzzle Game for VisionOS »
Developer Ryan McLeod is featured on the Apple Developer blog to talk about bringing his app Blackbox to Apple Vision Pro and turn his game into a spatial computing experience.
Happy WWDC26 to those who celebrate! Don't miss the What's new in Shortcuts session that covers our new automation types, additions to the Use Model action, and new Storage actions presented by Duraid.