I created a FinderSync extension, when I run the extension target, the console and the breakpoints did nothing, so how to debug the extension in xcode? I'm a new devleoper for MacOS.
Solution
This works for me...
Create a new application project
Add a new target - File -> New Target and add the finder sync
target.
When you are ready to debug, select the extension target -
Product -> Scheme -> --Your FINDER_SYNC_EXT Name --
Choose the Xcode Debugger for attaching
finder sync extension - Debug -> Attach to Process by PID or Name
Chose your extension and click Attach
Xcode status panel will be updated to "Waiting to attach to -- Your FINDER_SYNC_EXT Name --"