OpenSSL CocoaPod iOS with Bitcode?

后端 未结 3 1908
礼貌的吻别
礼貌的吻别 2021-02-15 11:45

Is there an OpenSSL cocoapod that works with bitcode enabled? Previously I was using the pod \'OpenSSL\', but I want to have bitcode in my app. Is there any way to

3条回答
  •  离开以前
    2021-02-15 12:20

    I didn't encounter any pod for openSSL with bitcode, but if you build it yourself, it is possible. As you mentioned yourself, you can use OpenSSL-for-iOS (https://github.com/x2on/OpenSSL-for-iPhone) and just run ./build-libssl.sh

    Then you will see some libraries with the openSSL output. See how it has been linked and used in the OpenSSL-for-iOS example project, and try to do the same in your project.

提交回复
热议问题