We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ce18ed commit e7e49a6Copy full SHA for e7e49a6
project-template-ios/internal/nsld.sh
@@ -59,4 +59,9 @@ printf "Generating metadata..."
59
GEN_METADATA $TARGET_ARCH
60
DELETE_SWIFT_MODULES_DIR
61
NS_LD="${NS_LD:-"$TOOLCHAIN_DIR/usr/bin/clang"}"
62
+# Skip linking if the resolved linker path points to a transient Metal.xctoolchain
63
+if [[ "$NS_LD" == *"Metal.xctoolchain"* ]]; then
64
+ echo "NSLD: Skipping link because NS_LD resolves to a Metal.xctoolchain: $NS_LD"
65
+ exit 0
66
+fi
67
$NS_LD "$@"
0 commit comments