05nelsonm / kmp-tor-resource

Tor resources for kmp-tor
Apache License 2.0
3 stars 0 forks source link

Refactor `iOS` compilations to publish a `Framework` #83

Closed 05nelsonm closed 3 weeks ago

05nelsonm commented 3 weeks ago

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.