Hi Monetus.Thanks for checking in. in case it's not clear, I'm working with libpd within Xcode and iOS, using Objective-C. Here's the relevant website:
In his book, Making Musical Apps, Brinkmann describes how he incorporates externals into this environment, which is otherwise based on Pd Vanilla. You basically need to drag the .c file into the project, make a declaration in the ViewController.m file:
And then call the function after PdBase and PdDispatcher have been set up:
This works fine for externals written in C.
(Note that working with references to C++ code requires changing the view controller to a .mm file. Also, I did find a freeverb~ written in C:
but it seems to depend on entire other framework, and it wasn't clear to me that this was going to work or be worth the time.)