#!/bin/bash # Builds the CLI, the directory service and the SMP server (for SimpleX names) that the app job runs as its test backend. # Usage: scripts/ci/ios-sim/build-backend.sh # They need the server-capable configuration (no client_library), as build.yml's macOS job builds the CLI. set -euo pipefail mkdir -p "$(dirname "$1")" out="$(cd "$(dirname "$1")" && pwd)/$(basename "$1")" openssl_dir=$(brew --prefix openssl@3) ghc --version cabal --version cat > cabal.project.local <