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.
How to debug FinderSync extension in Xcode
800 views Asked by mgfjx At
2
There are 2 answers
0
On
You are getting this issue because macOS will launch an instance of your finder extension when you launch the container app. You need to relaunch finder after running the finder extension.
- Run Finder sync extension.
- Xcode will prompt to select the target process.
- Select the Finder process.
- Relaunch finder.
This works for me...
Your breakpoints will be triggered.