You will need to compile and link it yourself, and your application should send it. If your application license and OpenSSL license are compatible, you can use static binding. Otherwise, you will need to dynamically link it.
There are several documents describing the process and creating scripts that you can find when you search Google. For iOS, there is even a Github project . I have not copied the contents of these documents here, as this is too much, and this is a moving target.
You can also install OpenSSL using Homebrew. If you just want your application to run on your Mac and you donโt want to distribute it, this is the easiest way: you just need to link it. But if you want to distribute your application, you will need to copy the library / libraries into your application suite and make sure that the linker finds it there. It also has the disadvantage that it is possible to โdisconnectโ between your application and the version of OpenSSL: if in a year you update OpenSSL with Homebrew and want to compile / link an older version of your application with the same version of OpenSSL as you did at the time you had a problem.
source share