Document iOS TDLib linking blocker
This commit is contained in:
1 parent
99ae5106ae
commit
f6b4b34ed4
5 files changed
+62
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if [[ -z "${DEVELOPER_DIR:-}" && -d /Applications/Xcode.app/Contents/Developer ]]; then
|
||||
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
|
||||
fi
|
||||
|
||||
target="${IOS_RUST_TARGET:-aarch64-apple-ios-sim}"
|
||||
|
||||
if ! rustup target list --installed | grep -qx "${target}"; then
|
||||
rustup target add "${target}"
|
||||
fi
|
||||
|
||||
cargo build -p tele-ios-ffi --target "${target}" --release
|
||||
Reference in new issue
Block a user