Dlsym cannot find symbol g_dwILResult when debugging AAX plugin

:waving_hand: Hello to the forum,

I am trying to debug the AAX version of my plugin (MIDI effect) on Pro Tools, but I am getting the following error (Mac console) when attempting to load it, which appears as an Avid error with the code -14018:

dlsym cannot find symbol g_dwILResult in CFBundle etc..

The plugin is signed and recognised in Pro Tools. Stack used: JUCE 8.0.9/Xcode 16.4
I could not find much information about the missing symbol (g_dwILResult) other than some mentions in Apple forums about plugins crashing in DAWs (not only Pro Tools).

Has anybody come across the same or a similar message?

Regards,

Achillefs
Axart Labs

The issue is now resolved - turns out I forgot to add the MIDI Effect Plugin flag.