Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 959ab17

Browse files
update comments
1 parent 8f131dd commit 959ab17

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

testing/scenario_app/compile_ios_jit.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,16 @@ echo "Using $SYSROOT as sysroot."
9090

9191
echo "Creating stub App using $SYSROOT..."
9292

93+
# Use the ld specified in PATH instead of the one from the active xcode
94+
# toolchain (the default).
95+
#
96+
# When linking against a newer iOS SDK (newer SYSROOT) with an older version of
97+
# clang, the linker from the old toolchain may refuse to link against new TAPI
98+
# files provided in the new SDK. See: https://github.com/flutter/flutter/issues/65901
9399
echo "static const int Moo = 88;" | xcrun clang -x c \
94100
-arch x86_64 \
95101
-fembed-bitcode-marker \
96-
-fuse-ld=`which ld` \
102+
-fuse-ld=$(which ld) \
97103
-isysroot "$SYSROOT" \
98104
-miphoneos-version-min=8.0 \
99105
-dynamiclib \

0 commit comments

Comments
 (0)