I wrote a Spotlight importer a few years back but in succesive OSX (and macOS) updates, it stopped working. Is there a new way to tap into Sportlight so I can allow searching within my app files? Thanks!
Is there a new way to tap into Sportlight so I can allow searching within my app files?
No. The fundamental Spotlight importer mechanism hasn’t changed in recent OS releases (the last complete break came when we disabled PowerPC support, back in 10.7 IIRC). However, lots of the implementation details have changed (for example, importers are now sandboxed) so it’s easy to imagine how your specific importer might have broken.
In short, you shouldn’t need to rearchitect your importer, rather you just need to debug the specific problem you’re encountering.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"