finagolfin / swift-android-sdk

Android SDKs for Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

library "libnghttp2.so" not found

johnburkey opened this issue · comments

Not in your release?

library "libssh2.so" not found

Those are dependencies of libcurl. As noted in the doc, I provide FoundationXML and FoundationNetworking but don't support running them:

The libcurl and libxml2 packages are only needed for the FoundationNetworking and FoundationXML libraries respectively, so you don't have to deploy them on the Android device if you don't use those extra Foundation libraries.

I simply include all four libraries since there's currently no way to disable building them in the CMake configuration, but they won't actually run on Android with this SDK, as libcurl and libxml2 have other library dependencies that aren't included. If you want to use either of these separate Foundation libraries, you will have to track down those other libcurl/xml2 dependencies and include them yourself.