Giter VIP home page Giter VIP logo

Comments (14)

krzyzanowskim avatar krzyzanowskim commented on May 23, 2024 1

The --openssldir config option no longer works, 'make' will put binaries in the working directory rather than /tmp

changed to --prefix in build.sh script

from openssl.

zeafonso avatar zeafonso commented on May 23, 2024 1

Hi, yes, OpenSSL release 1.0.2 is EOL, no longer supported since January 1st, 2020:
https://www.openssl.org/blog/blog/2019/11/07/3.0-update/
Please update it to the latest of current LTS release, 1.1.1

from openssl.

rspq avatar rspq commented on May 23, 2024

I've adapted the script to do this. The primary changes that are needed are:

  1. The --openssldir config option no longer works, 'make' will put binaries in the working directory rather than /tmp
  2. The sed command looks for "CFLAG=" instead of "CFLAGS="

You can also remove all the 32-bit architectures, only arm64 and x86_64 are needed these days.

from openssl.

satinder-singh-bamrah avatar satinder-singh-bamrah commented on May 23, 2024

@wyllys66 , Are able to upgrade as suggested by @rspq. If so, I do need your help to upgrade to 1.1.0

from openssl.

wyllys66 avatar wyllys66 commented on May 23, 2024

@satinder-singh-axway - I ended up forking and have a new repo that builds OpenSSL 1.1.1-stable for iOS. I havent tested with MacOS build.

https://github.com/wyllys66/OpenSSLFrameworkForIOS

from openssl.

krzyzanowskim avatar krzyzanowskim commented on May 23, 2024

Due to changes in 1.0.x support, I'll update to 1.1.x next time.
https://www.openssl.org/blog/blog/2018/05/18/new-lts/

from openssl.

krzyzanowskim avatar krzyzanowskim commented on May 23, 2024

There is ongoing work on 1.1.1-lts branch
https://github.com/krzyzanowskim/OpenSSL/tree/marcin/1.1.1-lts

from openssl.

jrpinteno avatar jrpinteno commented on May 23, 2024

Hi, would that branch have already everything needed to create the framework?

from openssl.

krzyzanowskim avatar krzyzanowskim commented on May 23, 2024

@jrpinteno give it a try please and let me know if you encounter problems

from openssl.

jrpinteno avatar jrpinteno commented on May 23, 2024

@krzyzanowskim I've tried two different approaches. For what is worth, I was using carthage 0.36 and Xcode 12
I created the framework using the script provided which went smooth. Once added to framework to my test project I could not import framework. Not sure if that's because module.modulemap is not created. I added manually one but couldn't make it work.

I have to say I'm a bit out of my depth when creating/using frameworks, I mainly use spm

Using cocoapods to fetch from the git branch straight away, module is not detected either.

from openssl.

krzyzanowskim avatar krzyzanowskim commented on May 23, 2024

Not sure if that's because module.modulemap is not created.

Xcode no longer produces it any longer and I have no idea why

from openssl.

krzyzanowskim avatar krzyzanowskim commented on May 23, 2024

@jrpinteno I did push fixes to the branch, you can try it again now. Should be better.

from openssl.

jrpinteno avatar jrpinteno commented on May 23, 2024

I bring partially good news. I was able to make it work via create-framework script on a laptop with Big Sur beta.
On Catalina although the framework is correctly added and autocompletes to import OpenSSL correctly, it immediately warns error and fails to compile project.

In both cases I've used Xcode 12.0.1, a brand new project is created, framework added the same way (through add files menu), then import OpenSSL and try to build.

I haven't been able to import it with cocoapods the way it's shown in #88 neither on Big Sur nor Catalina.

Here's the error log, hope it helps

from openssl.

krzyzanowskim avatar krzyzanowskim commented on May 23, 2024

On Catalina although the framework is correctly added and autocompletes to import OpenSSL correctly, it immediately warns error and fails to compile project.

Most likely because I built binaries on Big Sur (11 beta9 + Xcode 12.2 beta2).

from openssl.

Related Issues (20)

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.