Hi, I'm now working with FileProvider on MacOS11.6.
I find out that I need to add icons and export it as UTI in Containing App of FileProvider if I want to show some icon decoration on my items that under the control of FileProvider.
But I just encountered some difficulties:
- As title says, once an UTI being exported with arbitrarily identifier, I cannot cancel the exporting and then re-export another image with the same identifier for the need of changing image but remaining identifier unchanged.
- My icon decoration somehow stops to show on items but it normally shows corresponding decoration identifier when evaluated by
fileproviderctl evaluate {item_path}and changing identifier did not help.
Both difficulties were not solved by follow steps I've tried:
- Force restart Finder
- Delete domain before restart FileProvider
- Use
pluginkit -rto remove FileProvider before restart FileProvider
Any advise would be appreciated, thanks!