oficina / meet Public

Clone
git clone https://amadan.net/oficina/meet

Plain git — no account needed to clone.

Download

Download this file

1#!/bin/sh
2set -eu
3cd "$(dirname "$0")/.."
4./scripts/build-bridge.sh
5./scripts/build-rnnoise.sh
6./scripts/build-deepfilter.sh
7xcodegen generate --spec ios/project.yml
8case "${1:-simulator}" in
9 simulator)
10 xcodebuild -project ios/CallsPhone.xcodeproj -scheme CallsPhone \
11 -destination 'generic/platform=iOS Simulator' -derivedDataPath build/ios-simulator \
12 CODE_SIGNING_ALLOWED=NO build
13 ;;
14 device)
15 : "${CALLS_DEVELOPMENT_TEAM:?Set CALLS_DEVELOPMENT_TEAM to your Apple development team ID}"
16 xcodebuild -project ios/CallsPhone.xcodeproj -scheme CallsPhone \
17 -destination 'generic/platform=iOS' -derivedDataPath build/ios-device \
18 "DEVELOPMENT_TEAM=$CALLS_DEVELOPMENT_TEAM" -allowProvisioningUpdates build
19 ;;
20 *) echo 'Usage: build-iphone.sh [simulator|device]' >&2; exit 2 ;;
21esac
22