- Notifications
You must be signed in to change notification settings - Fork346
OpenSSL package for SwiftPM, CocoaPod, and Carthage, multiplatform
License
krzyzanowskim/OpenSSL
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
OpenSSLCocoaPods,Carthage andSwift Package Manager package for iOS, macOS, Catalyst, tvOS, visionOS, watchOS. A complete solution to OpenSSL. The package comes with precompiled libraries and includes a script to build newer versions if necessary.
The financial sustainability of the project is possible thanks to the ongoing contributions from ourGitHub Sponsors
Emerge Tools is a suite of revolutionary products designed to supercharge mobile apps and the teams that build them.
- iOS with architectures: arm64 + simulator (x86_64, arm64)
- macOS with architectures: x86_64, arm64 (including Catalyst target)
- tvOS with architectures: arm64
- visionOS with archtectures: arm64
- watchOS with architectures: arm64, arm64_32
- Static librarylibcrypto.a, libssl.a
- FrameworksOpenSSL.framework
- XCFrameworkOpenSSL.xcframework
Apple says:"Although OpenSSL is commonly used in the open source community, OpenSSL does not provide a stable API from version to version. For this reason, although OS X provides OpenSSL libraries, the OpenSSL libraries in OS X are deprecated, and OpenSSL has never been provided as part of iOS."
You don't have to use the pre-built binaries I provide.You can build it locally on your trusted machine.
$ git clone https://github.com/krzyzanowskim/OpenSSL.git$ cd OpenSSL$ make
The result of a build process is put insideFrameworks directory.
I advised you to useOpenSSL-Package which is a pure binary distribution that distribute the very same binary but avoid fetching this git repository which is significant in size.
dependencies:[.package(url:"https://github.com/krzyzanowskim/OpenSSL-Package.git", from:"3.3.2000")]
and then as a dependency for the Package target utilizing OpenSSL:
.target( name:"MyApp", dependencies:[.product(name:"OpenSSL",package:"OpenSSL-Package")]),
pod 'OpenSSL-Universal'
- Using a prebuilt framework is preferred:
binary "https://raw.githubusercontent.com/krzyzanowskim/OpenSSL/main/OpenSSL.json"
These libraries work for iOS, macOS, appleTV, visionOS, watchOS. It is your prerogative to check. Ask yourself, are you trying to write an app for old devices? new devices only? all iOS devices? only macOS?, etc ::
OpenSSL.xcframework is distributed as a multiplatform XCFramework bundle, for more information checkout the documentationDistributing Binary Frameworks as Swift Packages
About
OpenSSL package for SwiftPM, CocoaPod, and Carthage, multiplatform