I don't think you can use AsyncImage in the snippet. For exemple, you can't use it in Widget neither. so try use Image in your view and in your perform result also fetch the uiImage before passing it to the view.
Post
Replies
Boosts
Views
Activity
Hey!
I added your AppIntent to my AppIntentExtension and the problem isn't the @main
the problem is that as soon as your app intent calls perform it crashes
The big issue with AppIntentExtension that it is impossible to debug it.
So if your app succeeded to extract metadata it means the rest fails on your interactions , it may help you later to trace the errors which unfortunately for now we can't see.
Let's get back to your AppIntent, it crashes your app and your extension because your result returns dialog, which you didn't precise in return type of your perform.
Adding ProvidesDialog solve the problem.
Good luck:)