I finally found a solution to your Problem. Instead of reading the AppIcon and AppName through the BundleID, you can retrieve it in a View using
Label(selection.applicationTokens.first!).labelStyle(.titleAndIcon)
You just need to get the applicationTokens and can retrieve the AppIcon and AppName through this Label.
Hope this helps!
Topic:
Code Signing
SubTopic:
General
Tags: