introduced in macOS 12 "CSImportExtension was never fully implemented on macOS"

but remember to fill bug reports everyone, it helps

@krzyzanowskim is annoying that there used to be a MDImporter Xcode template which was removed in Xcode 9 for a template based on CSImportExtension which (as was confirmed today) has never worked on macOS.

Had to download Xcode 8 and extract the xctemplate files (surprisingly they still work in Xcode 16) because there’s definitely magic in them thar hills with MDImporter.

At least it’s now confirmed *by Apple* that it’s never worked.

@dagronf share that template, I may want to try it too

@krzyzanowskim I've uploaded it to dropbox at the following link.

https://www.dropbox.com/scl/fi/x8x5455onkqns3e7e5ps7/Spotlight-Importer.xctemplate.zip?rlkey=u69kr7srleh0rhzesjsx4kanm&st=gdaj3tj2&dl=0

The 'Spotlight Importer.xctemplate' folder needs to go into "Xcode.app/Contents/Developer/Library/Xcode/Templates/Project Templates/Base"

Spotlight Importer.xctemplate.zip

Shared with Dropbox

Dropbox

@krzyzanowskim There's also a basic working importer for playgrounds here

https://github.com/norio-nomura/PlaygroundMDImporter

GitHub - norio-nomura/PlaygroundMDImporter: A Spotlight Importer for Xcode Playground.

A Spotlight Importer for Xcode Playground. Contribute to norio-nomura/PlaygroundMDImporter development by creating an account on GitHub.

GitHub