Sirikit to AppIntent Migration

For apps migrating from SiriKit to App Intents, is there a recommended way to test that an intent is actually discoverable by Siri AI — beyond just confirming the code compiles? Are there APIs to verify an intent is properly indexed and reachable via natural language?

  • Divya Ravi, Senior iOS Engineer
Answered by Frameworks Engineer in 891883022

You can use the new App Intents Testing framework. Set up an IntentDefinitions(bundleIdentifier:) and run intents through it, this uses the same code path Siri and Shortcuts use, so passing tests mean the system can actually reach your intent.

For example, spotlightQuery(...) on AppEntityDefinition can confirm that your entities are properly indexed.

You can learn more from the documentation (https://developer.apple.com/documentation/AppIntentsTesting/testing-your-app-intents-code) and check out this video too: https://developer.apple.com/videos/play/wwdc2026/295

You can use the new App Intents Testing framework. Set up an IntentDefinitions(bundleIdentifier:) and run intents through it, this uses the same code path Siri and Shortcuts use, so passing tests mean the system can actually reach your intent.

For example, spotlightQuery(...) on AppEntityDefinition can confirm that your entities are properly indexed.

You can learn more from the documentation (https://developer.apple.com/documentation/AppIntentsTesting/testing-your-app-intents-code) and check out this video too: https://developer.apple.com/videos/play/wwdc2026/295

Sirikit to AppIntent Migration
 
 
Q