Thank you, I tried placing my dynamic library in the bin folder but that did not work for me unfortunately, even after pointing to it with [dependencies] in the .gdextension file.
I'm sorry but I didn't really know what to do with the the OS class suggestion, how can I use that to find the dynamic library?
Right now I'm getting these errors in the Godot console
Can't open dynamic library: /*pathtoproject*/*Godot Project Folder*/bin/libgdexample.macos.template_debug.framework. Error: dlopen(/*pathtoproject*/*Godot Project Folder*/bin/libgdexample.macos.template_debug.framework/libgdexample.macos.template_debug, 0x0002): Library not loaded: '@rpath/libangelscript.2.37.0.dylib'
It goes on to state that the reason is that it can't find the .dylib file in my Godot.app/Contents or in /usr/lib/