[18.2b2] How do I test an OpenIntent?

So, I've declared an AppIntent that indicates my app can "Open files" that conform to UTType.Image.

I've got a @AssistantEntity(schema: .files.file) and a @AssistantIntent(schema: .files.openFile) declared.

So I navigate to the files app, quicklook an image, and open type-to-siri.

I tell siri "open this in <app name>" and all it does is act like "open <app name>". No breakpoint is hit in my intent's perform method.

Am I doing something wrong? How can I test these cross-app behaviors?

Are they... not actually possible? Does an "OpenIntent" only work on my app's own URLs and not on file URLs from other apps?

I like to use the Shortcuts app for testing. If you create a file reference in a shortcut, and then pass that file to your new open intent as the next step in a shortcut, what happens? If that much works, then you're on the right path. If that doesn't work, review the documentation article on the files domain to make sure you haven't forgotten something in your implementation.

— Ed Ford,  DTS Engineer

[18.2b2] How do I test an OpenIntent?
 
 
Q