How to manually trigger a CSImportExtension call?

I created an ImportExtension using the template in Xcode, and implemented the -[ImportExtension updateAttributes:forFileAtURL:error:] method. I have tried searching for the corresponding file in Spotlight and the method is not called. How can I make this method be called?

Xcode Version: 13.2.1 iOS Version: iOS 15.2

Hi zktsin, have you ever get this problem solved? I`m in the same situation as you, would you like to share any clue about this?

How to manually trigger a CSImportExtension call?
 
 
Q