The binary xcframework is provided via zip as required by Swift Package, built using the openssl-apple
project.
Included platforms: Mac (arm, x86), iOS, WatchOS, tvOS and simulators.
This packages is based on:
Tips:
If you make your own version of the frameworks don't forget their symbolic links:
zip --symlinks -r openssl_1_1_1d.xcframework.zip openssl.xcframework
cp -R ...
otherwise you may experience codes-signing problems due to bogus frameworks.
...
dependencies: [
.package(name: "openssl", url: "https://github.com/nferruzzi/openssl", from: "0.0.2"),
],
targets: [
.target(
name: "MyApp",
dependencies: [.product(name: "OpenSSL", package: "openssl")]),
]
and then you can
import OpenSSL
...
OpenSSL_SSL_init()
ERR_load_CRYPTO_strings()
link |
Stars: 6 |
Last commit: 20 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics