I'm trying to load a custom .dylib library via the dlopen()
function (in a Swift iOS app). It requires a path to the library.
- Where to put the library in the project structure?
- What will be the library's path on the iOS device?
Also, a tangential question, it seems more usual to include the library's sources directly into the project and let Xcode build it. Is that a preferable approach for some reason?