AppIntents Compatibility

Here are a variety questions around compatibility, some related to iOS 27 changes, some related to iOS / watchOS:

  • Sometimes my AppShortcutProvider do not update properly. Do you a suggested series of actions to clean them up on the device after making changes?
  • I have a lot of trouble getting watch apps to recognize shortcuts that I supply to them, and trigger phrases that work on the phone fail on the watch even when it hears all the words correctly. Do you have any suggestions for supporting watchOS?
  • There are a number of .result() variants for AppIntents, and some are only compatible with iOS 26 / 27. Do you have any recommendations for how to offer support for iOS 18 devices too without completely sacrificing the new features especially in iOS 27?
  • AppEntity(schema:) for iOS 27 greatly expanded its usefulness, but they are not backward-compatible. Is there a way to gate the usage of AppEntity(schema:) for just iOS 27 or gracefully degrade?
  • How does the new Siri interact with AppShortcutProvider? Are they unnecessary as long as I have Intent Entities and Intents? Do they interfere?
Answered by Frameworks Engineer in 891873022

That's a lot of questions in one question.

  1. Be sure to call updateAppShortcutParameters() when your state changes. We've also made some optimizations and improvements to the backend code in iOS 27
  2. The best option here would be to reproduce the issue and file a feedback with a sysdiagnose
  3. In some cases you should be able to use the if #available syntax to change the result call based on the OS version
  4. See this question for an example: https://developer.apple.com/forums/thread/832207
  5. The existing AppShortcuts Siri behavior is still supported in iOS 27 and could be useful to maintain if you support older OSes
Accepted Answer

That's a lot of questions in one question.

  1. Be sure to call updateAppShortcutParameters() when your state changes. We've also made some optimizations and improvements to the backend code in iOS 27
  2. The best option here would be to reproduce the issue and file a feedback with a sysdiagnose
  3. In some cases you should be able to use the if #available syntax to change the result call based on the OS version
  4. See this question for an example: https://developer.apple.com/forums/thread/832207
  5. The existing AppShortcuts Siri behavior is still supported in iOS 27 and could be useful to maintain if you support older OSes
AppIntents Compatibility
 
 
Q