baresip / baresip-ios

Baresip for iOS
46 stars 33 forks source link

Build libraries for openSSL/TLS #24

Closed jurjen-van-dijk closed 3 years ago

jurjen-van-dijk commented 4 years ago

I try to use baresip in an iOS app, but need to connect with TLS. However, the lib's build with this makefile are excluding openSSL and TLS. Why is that, and how can I build lib's that use TLS?

alfredh commented 4 years ago

you need to add a makefile target to cross-compile openssl.

see here for a similar project:

https://github.com/alfredh/baresip-android/blob/master/Makefile#L202

a Pull Request is welcome.

rtcexpert commented 4 years ago

I have added openssl and bitcode bellow repo. https://github.com/rrpathak007/baresip-ios-bitcode

Pre Build openssl for ios. https://github.com/rrpathak007/ios-openssl-lib

@jurjen-van-dijk Hope this will help you. @alfredh I already submit a Pull Request for bitcode. let me know if you want me to add openssl on it.

jurjen-van-dijk commented 4 years ago

Thanks @rtcexpert ! I will have a look at it.

alfredh commented 3 years ago

please make a PR to cross-compile OpenSSL for iOS.