Hi All,
I think I found the way.
In case other guys might have the same questions, I’m glad to share my
experience.
1. In Xcode, right click
the target of your MIDI plugin and select Add
a New Custom Executable.
2. Name it as MIDI Server
or any name you would like. The important operation is to specify the
Executable path as the path of MIDI server.
/System/Library/Frameworks/CoreMIDIServer.framework/MIDIServer
3. Make sure the project
settings debuggable. Actually there’re some items I’m not quite sure if
they are necessary for our purpose. If you encounter issues, you can send email
to me.
4. Build the debug version
of your MIDI plugin and install it to
/Library/Audio/MIDI Drivers
5. In Xcode, select menu
item of Run->Debug. On my side, I can see a breakpoint in the plugin entry
function is hit.
Sincerely yours,
David Tan
Software Engineer
Dextrys Co., Ltd.