Giter Club home page Giter Club logo

libssh2prebuild's Introduction

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/TheTekton337/Libssh2Prebuild.git", .branch("master"))

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:

libssh2prebuild's People

Contributors

thetekton337 avatar dimaru avatar migueldeicaza avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.