How to archive the loadable bundle for macOS

Hey! I started working on the app that can be extended by custom plug-ins (loadable bundles). And I'm able to load a plug-in in the app (bundle created in my app project) – cool. Now I started testing what's the experience, to build the plug-in knowing only app's interface. I created new Xcode project, added shared framework that exposes the app's API. And I can build it.

But when I'm trying to archive it, the archive is empty (there are dsyms only) and there is no "product". I'd expect to see my custom bundle with the binary, "Resources" folder etc. so I can share or upload it for the notarizing service…

What am I doing wrong?

How to archive the loadable bundle for macOS
 
 
Q