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:)
Topic:
App & System Services
SubTopic:
General
Tags: