No way around it, need a framework. dlopen will fail on iOS if code signature does not match the application's, so it needs to be embedded and signed for dlopen("LibTor.framework/LibTor") to work. Also means the -no_uuid must be removed so that ld does not fail. May also need to rethink native macOS publications, too.
Need to investigate how best to publish an XCFramework, as it is currently a cluster F. Might be better to simply provide a gradle plugin.
No way around it, need a framework.
dlopen
will fail oniOS
if code signature does not match the application's, so it needs to be embedded and signed fordlopen("LibTor.framework/LibTor")
to work. Also means the-no_uuid
must be removed so thatld
does not fail. May also need to rethink nativemacOS
publications, too.Need to investigate how best to publish an
XCFramework
, as it is currently a cluster F. Might be better to simply provide a gradle plugin.