Third-party libraries libsodium compiler supports iOS (Android empathy)

First, download the stable version libsodium https://download.libsodium.org/libsodium/releases/ download complete decompression can

1086463-8ea5803e1e7caba8.png
image.png

Second, the terminal cd into the directory, execute ./dist-build/ios.sh script. After the execution, it will generate libsodium-ios directory in your home directory.


1086463-129d8e22b6bf6436.png
image.png

Third, import libsodium-ios into the project can be. Android, Mac OX Similarly, the implementation of the iOS.sh script can be changed to perform the appropriate platform. dist-build directory has written the script.

In this simple three-step, step on a lot of pits, waste some time. Here the record about.

Guess you like

Origin blog.csdn.net/weixin_34189116/article/details/90960270