chore(ios): optimize build workflow (#11132)

This commit is contained in:
EYHN
2025-03-24 14:32:45 +00:00
parent 80d451cc51
commit c1b3e25fc7
123 changed files with 3964 additions and 109 deletions
@@ -32,14 +32,6 @@ else
RELFLAG=debug
fi
if [[ -n "${SDK_DIR:-}" ]]; then
# Assume we're in Xcode, which means we're probably cross-compiling.
# In this case, we need to add an extra library search path for build scripts and proc-macros,
# which run on the host instead of the target.
# (macOS Big Sur does not have linkable libraries in /usr/lib/.)
export LIBRARY_PATH="${SDK_DIR}/usr/lib:${LIBRARY_PATH:-}"
fi
IS_SIMULATOR=0
if [ "${LLVM_TARGET_TRIPLE_SUFFIX-}" = "-simulator" ]; then
IS_SIMULATOR=1