Get Text From AppEntity not work

https://medium.com/@giulio.caggegi/use-app-intents-with-ios-16-90a341ccbc94

I create a demo according this article, and add the App Intents in Shortcuts App , then add a Scripting "Get text from ***" , but the result is Empty, how could I modify the AppEntity or add which attribute, so the Scripting "Get text from ***" can get text from the App Intents?

Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project.

https://github.com/wyy912/App-Entity-Demo

The test project link is above. And the screenshot is the shortcut, I can get text from the shortcut or speak the text.

Get Text From AppEntity not work
 
 
Q