From e03895329fcee88d00a3d6a0377ea32ed824bc50 Mon Sep 17 00:00:00 2001 From: Isaac <> Date: Wed, 11 Jun 2025 17:13:24 +0800 Subject: [PATCH] Fix td min iOS --- third-party/td/build-td-bazel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third-party/td/build-td-bazel.sh b/third-party/td/build-td-bazel.sh index 756fe808d1..a977bbb10d 100755 --- a/third-party/td/build-td-bazel.sh +++ b/third-party/td/build-td-bazel.sh @@ -29,7 +29,7 @@ cd .. if [ "$ARCH" = "arm64" ]; then IOS_PLATFORMDIR="$(xcode-select -p)/Platforms/iPhoneOS.platform" IOS_SYSROOT=($IOS_PLATFORMDIR/Developer/SDKs/iPhoneOS*.sdk) - export CFLAGS="-arch arm64 -miphoneos-version-min=13.0" + export CFLAGS="-arch arm64 --target=arm64-apple-ios13.0 -miphoneos-version-min=13.0" elif [ "$ARCH" = "sim_arm64" ]; then IOS_PLATFORMDIR="$(xcode-select -p)/Platforms/iPhoneSimulator.platform" IOS_SYSROOT=($IOS_PLATFORMDIR/Developer/SDKs/iPhoneSimulator*.sdk)