We found an apparent iOS 27 WorkflowKit bug when implementing:
@AppIntent(schema: .photos.editAsset)
with an entity conforming to:
@AppEntity(schema: .photos.asset)
Despite Apple’s general guidance that schema entity types may be renamed, Siri only worked when our entity’s Swift type was named exactly AssetEntity.
Controlled on-device results:
AssetEntity— worksPhotoAssetEntity— failsFooAssetEntity— fails
For the failing names, neither the entity query nor perform() was reached. WorkflowKit logged:
Failed to retrieve entity metadata
Error Domain=WFActionErrorDomain Code=6
Siri responded:
Unable to retrieve the data information to process.
The generated App Intents metadata was internally consistent, and the issue persisted across clean installs and a device restart.
Current workaround: name the .photos.asset entity type exactly AssetEntity.
Tested with Xcode 27.0 beta (27A5252f) and iPadOS 27.0 (24A5423a).
Filed with Apple as FB24604095 for anyone from Apple investigating this behavior.