Building native Photoshop plug-ins

I’m having a lot of difficulty building a native-C Photoshop filter plug-in for macOS. I’ve built many of them before, but not in the past 15 years, so I’m not surprised that so much has changed. A couple of really basic questions:

(1) Is it even possible? Is anybody successfully building and using C-based Photoshop plug-ins in 2022?

(2) I’ve managed to get the ColorMunger example filter to build, but had to strip down and rebuild the Xcode project. But now it won’t link because Xcode can’t find any of the library symbols like _AllocateGlobals, _CSCopyColor, CSInitInfo, and twelve others. I see that there’s no framework or library included in the photoshopsdk folder. How can one link code with no library file?

I’ve tried seventy-two times in my life to approach Automation plugins (for those who don’t know them, they’re basically a C++ wrapper around good old ActionManager code, plus a UI, hence the lowest hanging fruit for scripters willing to step up their game), and I’ve given up seventy-two times—last one this weekend.
Documentation is from the late nineties/early 2000 at best, the demo plugin doesn’t compile, it makes me so sad every time.