SiriExtension Interaction donation failed: Error Domain=IntentsErrorDomain Code=1901 "Cannot donate interaction with intent that has no valid shortcut types iOS swift

 Problem:

I had tried to integrate sirikit on my project.Interaction donation failed: Error Domain=IntentsErrorDomain Code=1901 "Cannot donate interaction with intent that has no valid shortcut types

The error code shown as above while try to run.How to solve that?

Solution:

Try to change your parameter to lowercase in your siri intents file ,then it will works.

For example


If you are created parameter Create new suggestion as a hint with parameters as "Title and Description" then change that to "title and description" then it will works fine.


Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift