Thank you for your support.
These are the results of my experiments:
I configured the Product > Analyze action to build in Release, and the resulting app works as expected: the Extension is recognised and loaded, in a fully functional way.
I followed the steps to Archive & Export the app, using several signing methods. Namely:
a) (From the organizer) Distribute app > Custom > Direct Distribution > Export > Developement Team = HIVE DIGITAL LABS > Automatically manage signing. Then the summary shows:
Team: HIVE DIGITAL LABS SRL
Certificate: Developer ID Application (Expires 01/02/27)
Profile: None
b) Distribute app > Custom > Direct Distribution > Export > Development Team = HIVE DIGITAL LABS > Manually manage signing, then I use my team's Developer ID certificate, proper Eligible profiles, and the summary shows:
Team: HIVE DIGITAL LABS SRL
Certificate: Developer ID Application (Expires 01/02/27)
Profile: Release Cut and Paste (Expires 24/03/43)
c) Distribute app > Custom > Debugging > Development Team = HIVE DIGITAL LABS > Automatically manage signing. Then the summary shows:
Team: HIVE DIGITAL LABS SRL
Certificate: Apple Development (Expires 28/03/26)
Profile: None
d) Distribute app > Custom > Debugging> Development Team = HIVE DIGITAL LABS > Manually manage signing, then I use my Apple Development certificate, proper Eligible profiles, and the summary shows:
Team: HIVE DIGITAL LABS SRL
Certificate: Apple Development (Expires 28/03/26)
Profile: Debug Cut and Paste (Expires 28/03/26)
e) Distribute app > Custom > Copy app > (Output dir).
Every methods exports successfully, but the resulting App is not working (the app starts, but the Extension is not loaded neither recognised).
I've also noticed that pluginkit -m -v shows me the Extension as loaded and active every time I lanched Product > Archive, but the directory from which the Extension is loaded is non-existent:
/Users/alessioscibilia/Library/Developer/Xcode/DerivedData/Hive-CutAndPaste-fpfzypnezgtfzlcugohasvonofbf/Build/Intermediates.noindex/ArchiveIntermediates/Hive-CutAndPaste/InstallationBuildProductsLocation/Applications/Cut & Paste.app/Contents/PlugIns/Cut & Paste Finder Extension.appex
I guess it's a temporary directory used by the Archive process.
When I use the Extension just after Archiving, it works but is not fully functional: icons and localization strings are missing.
So I always removed the Extension (with pluginkit -r) before every Exporting from the Archive. As just said, launching every Exported app results in Extension not loaded.
I don't know what to do anymore, I've run out of ideas.
Thank you again for every further suggestion