Setup Icon (.icns) for a custom bundle via MDImporter

Hi, I developed a plug-in software (basically an extension of another software, not a standalone application) which exports and imports custom bundles. I made an MDImporter in order to make the system recognize my folder extension and treat the exported folder (with his content) as a bundle, but I'm not able to set an icon file for it (.icns).