I'm trying to debug a crashing Finder sync extension that's part of the Nextcloud desktop client. The extension produces no crash log or useful output when it crashes, so I'm trying to figure out how to attach a debugger to it so I can see where in its source code the crash is occurring.
Nextcloud is developed using cmake, though, so I don't have an Xcode project I can use to follow the normal workflow of debugging a Finder sync extension. I tried using cmake -G Xcode
to generate an Xcode project, but what it produces is, of course, a completely non-standard Xcode client with no Finder sync extension target actually in it.
Is there any way at all to debug the extension when cmake is involved?