I literally cannot get this to work due to the signing restrictions on macOS (building my on RTOSPlugin and using it with the gdb server). Works fine on windows and Linux. Has anyone been able to build their own RTOS plugin and go it to play nicely with the gdb server? The general class of error I get is this:
```
Loading RTOS plugin: //Users/andypiper/Documents/GitHub/ChibiOS-JLink-RTOS-Plugin/Debug/macos_x86_64/libRTOSPlugin_ChibiOS_Debug.so...
Error: dlopen(//Users/andypiper/Documents/GitHub/ChibiOS-JLink-RTOS-Plugin/Debug/macos_x86_64/libRTOSPlugin_ChibiOS_Debug.so, 0x0001): tried: '//Users/andypiper/Documents/GitHub/ChibiOS-JLink-RTOS-Plugin/Debug/macos_x86_64/libRTOSPlugin_ChibiOS_Debug.so' (code signature in <050538F6-F7A0-3699-A0B6-E4D0432E1CCC> '/Users/andypiper/Documents/GitHub/ChibiOS-JLink-RTOS-Plugin/Debug/macos_x86_64/libRTOSPlugin_ChibiOS_Debug.so' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs)
```
I've tried all sorts of signing hacks but nothing works. I've also tried macenhance.com/docs/general/sip-library-validation.html - also does not work. Feels like segger need to do something on their end to get this to work.
```
Loading RTOS plugin: //Users/andypiper/Documents/GitHub/ChibiOS-JLink-RTOS-Plugin/Debug/macos_x86_64/libRTOSPlugin_ChibiOS_Debug.so...
Error: dlopen(//Users/andypiper/Documents/GitHub/ChibiOS-JLink-RTOS-Plugin/Debug/macos_x86_64/libRTOSPlugin_ChibiOS_Debug.so, 0x0001): tried: '//Users/andypiper/Documents/GitHub/ChibiOS-JLink-RTOS-Plugin/Debug/macos_x86_64/libRTOSPlugin_ChibiOS_Debug.so' (code signature in <050538F6-F7A0-3699-A0B6-E4D0432E1CCC> '/Users/andypiper/Documents/GitHub/ChibiOS-JLink-RTOS-Plugin/Debug/macos_x86_64/libRTOSPlugin_ChibiOS_Debug.so' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs)
```
I've tried all sorts of signing hacks but nothing works. I've also tried macenhance.com/docs/general/sip-library-validation.html - also does not work. Feels like segger need to do something on their end to get this to work.