I’m trying to link a dynamic library in a KN app built with the Gradle plug-in. But I have had no success getting the plug-in to accept the dynamic lib in the libraries block. Have tried ‘file’ with both the .dylib and the associated .tbd file, neither type is recognized. Any ideas?
Solved my problem. I’m using cinterop to add libxml2 to my project. Needed to add linkerOpts = -lxml2 to the cinterop def file. Perhaps this info could be added to docs, I could not find it anywhere and just figured it out by a lucky guess. Maybe obvious to those with more unix-ish experience.