NOTE: The scripts are located in scripts/build-ios folder.
- Xcode should be installed. Check in terminal whether
xcode-select -ppoints to /Applications/Xcode.app/Contents/Developer - Install Homebrew according to instructions on https://brew.sh/
- Install CMake with Homebrew:
brew install cmake
There is OpenSSL-Universal project which has all necessary to build OpenSSL for our needs. It fetches OpenSSL code by itself, so you don't need to download it separately. Build it with command:
./mkssl-xcf.sh
Now you can build SRT with command:
./mksrt-xcf.sh
Results (libcrypto.xcframework and libsrt.xcframework) will be placed in scripts/build-ios folder.
Follow these steps to embed frameworks in your app. Choose the Do Not Embed option from the Embed value list.