xcode8 模拟器编译webrtc找不到openssl
更新:HHH   时间:2023-1-7


下载最新版openssl

https://www.openssl.org/source/


安装

  • ./Configure darwin64-x86_64-cc

  • make

  • make test

  • sudo make install


whichlydeMacBook-Air:~ wanyu$ which openssl

/usr/local/bin/openssl

lydeMacBook-Air:~ wanyu$ /usr/local/bin/openssl version

OpenSSL 1.1.0e  16 Feb 2017



其实只需要下载解压,找到 include/openssl 目录,copy到

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include


返回开发技术教程...