Since the plugin is enabled in the extension's settings panel, it doesn't really do anything. So I tried to run the plugin binary directly.
path as:
{my-app}/Contents/PlugIns/{my-finder-appex}/Contents/MacOS/finder
The output of a normal direct run is
An XPC service cannot be run directly.
But what's unusual is that its output is
illegal hardware instruction
Then the system's Console.app shows its crash report
Post
Replies
Boosts
Views
Activity
And this problem is reproduced by the simplest demo I've built using the latest XCODE build, so it's impossible to say exactly what's wrong with my own project. So I would like to know how to fix this problem.
And I saw a similar problem on the forum, https://forums.developer.apple.com/forums/thread/712076
but unfortunately no solution was given there。