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

Commit 559a2c6

Browse files
update comments
1 parent 8f131dd commit 559a2c6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

testing/scenario_app/compile_ios_jit.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,17 @@ 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) while using an older
97+
# version of clang, the linker from the older toolchain may refuse to link
98+
# against new TAPI files provided in the new SDK.
99+
# See: https://github.com/flutter/flutter/issues/65901
93100
echo "static const int Moo = 88;" | xcrun clang -x c \
94101
-arch x86_64 \
95102
-fembed-bitcode-marker \
96-
-fuse-ld=`which ld` \
103+
-fuse-ld=$(which ld) \
97104
-isysroot "$SYSROOT" \
98105
-miphoneos-version-min=8.0 \
99106
-dynamiclib \

0 commit comments

Comments
 (0)