Libssh2Prebuild

1.9.0+OpenSSL_1_1_1h

Libssh2 prebuilt binaries for Apple platforms.
DimaRU/Libssh2Prebuild

What's New

1.9.0+OpenSSL_1_1_1h

2020-11-18T15:46:20Z

Libssh2 1.9.0 build.

Supported platforms and architectures

Platform Architectures
macOS x86_64 arm64
iOS arm64 armv7 armv7s
iOS Simulator x86_64 arm64
watchOS armv7k arm64_32
watchOS Simulator x86_64 arm64
tvOS arm64
tvOS Simulator x86_64 arm64
Maccatalyst x86_64 arm64

Libssh2Prebuild

Libssh2 with OpenSSL crypto prebuilt library backend for Apple platforms. Apple Silicon supported.

Supported platforms and architectures

Platform Architectures
macOS x86_64 arm64
iOS arm64 armv7 armv7s
iOS Simulator x86_64 arm64
watchOS armv7k arm64_32
watchOS Simulator x86_64 arm64
tvOS arm64
tvOS Simulator x86_64 arm64
mac Catalyst x86_64 arm64

Usage

Add line to you package.swift dependencies:

.package(name: "CSSH", url: "https://github.com/DimaRU/Libssh2Prebuild.git", from: "1.9.0")

Right now used with the Shout library: https://github.com/DimaRU/Shout

Xcode 12 bug note!

Xcode 12 now has a bug that causes static library .a files to be copied into the app bundle. Add Run Script to your Xcode project with this commands:

# Remove static libs
ls -1 ${CODESIGNING_FOLDER_PATH}/Contents/Frameworks/*.a
rm -f ${CODESIGNING_FOLDER_PATH}/Contents/Frameworks/*.a

Build your own repo from source

Required Xcode 12.2, and github cli. Intended to use with github.

  1. Install gh: brew install gh
  2. Authorize gh: gh auth
  3. Fork and clone this repo
  4. Run ./script/build-xcframework.sh commit

Credits:

Description

  • Swift Tools 5.3.0
View More Packages from this Author

Dependencies

  • None
Last updated: Tue Nov 19 2024 22:22:03 GMT-1000 (Hawaii-Aleutian Standard Time)