www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: Build libssh2 for Mac Catalyst

Re: Build libssh2 for Mac Catalyst

From: Jan Ehrhardt <phpdev_at_ehrhardt.nl>
Date: Fri, 10 Jul 2020 01:25:33 +0200

Will that work for Mac Catalyst: running iPad/iPhone apps on macOS
10.15? Even for OpenSSL there are very few examples online how to do
that! See https://stackoverflow.com/a/56860199/872051 for one of those

If it is as straightforward as you say it is, you surely can point me to
a github or gitlab repo where that is being done.


Will Cosgrove in gmane.network.ssh.libssh2.devel (Thu, 9 Jul 2020
11:32:31 -0700):
>You do have to build fat libraries of OpenSSL to target the various
>platforms and use lipo to mirge them. This isn’t unusual for a static
>library and there are many resources online which will help walk you
>though the process specifically for OpenSSL. As for libssh2, creating
>an Xcode project and building it as a framework (not a static library)
>is the easiest way as it manages the targets for you.
>> On Jul 9, 2020, at 10:41 AM, Jan Ehrhardt <phpdev_at_ehrhardt.nl> wrote:
>> Hi Will,
>> Will Cosgrove in gmane.network.ssh.libssh2.devel (Tue, 7 Jul 2020
>> 16:11:48 +0000 (UTC)):
>>> The easiest way is to make an Xcode project from the source and build
>>> it. It's pretty straight forward to get building. You could also build
>>> it via the command line by following the docs. You may have to install
>>> some additional tools first, homebrew is the easiest way to do that.
>> It is not that straightforward if you want to build libssh2 (and
>> openssl) for Mac Catalyst, as per the subject.
>> --
>> Jan
>> _______________________________________________
>> libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2020-07-10

the libssh2 team