The existing project of Finder Extension is doing an amazing job in other paths but when I point it to the CloudStorage path the context menu doesn't show up. And no trace of what is going wrong any where (Xcode Logs, Console log, crash log, etc.)
Path Used:
/Users/<User>/Library/CloudStorage/FP-SomeDomains
Yes, even my first though was, it must be because of dataless file and folders. But unfortunately it not. There was no context menu presented from my Finder Extension even on real physical files and folders.
No, applications cannot use both the FinderSync and FileProvider extension points.
You should use the FileProviderUI
framework for contextual menu actions which require their own UI.
And the NSFileProviderCustomAction
protocol for contextual menu actions which execute a command without presenting UI.
See the sample code for examples: https://developer.apple.com/documentation/fileprovider/replicated_file_provider_extension/synchronizing_files_using_file_provider_extensions