I am creating an application extension (appex), to be precisely, a smartcard extension, my question is,
can an appex contain a Frameworks folder with a dylib in it?
like, sample.app/Contents/Frameworks/mylib.dylib
I woul like to load a dylib from there.
Is it possible or allowed to do that?
sample.app/Contents/Frameworks/mylib.dylib
That definitely works.
On macOS putting the dynamic library inside the appex should work as well.
IMPORTANT iOS is more strict about this stuff. Specifically:
iOS does not support third-party dynamic libraries. If you need this you have to wrap the library in a dummy framework.
iOS requires that such frameworks be embedded in the top level app.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"