Skip to content

Commit 3d06339

Browse files
committed
test(ios): workaround swift library link failure
1 parent 878c605 commit 3d06339

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/ios/testing.xcodeproj/project.pbxproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,10 @@
405405
);
406406
MARKETING_VERSION = 1.0;
407407
ONLY_ACTIVE_ARCH = YES;
408-
OTHER_LDFLAGS = "$(inherited)";
408+
OTHER_LDFLAGS = (
409+
"$(inherited)",
410+
"-L$(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/$(PLATFORM_NAME)",
411+
);
409412
PRODUCT_BUNDLE_IDENTIFIER = io.invertase.testing;
410413
PRODUCT_NAME = testing;
411414
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -442,7 +445,10 @@
442445
);
443446
MARKETING_VERSION = 1.0;
444447
ONLY_ACTIVE_ARCH = YES;
445-
OTHER_LDFLAGS = "$(inherited)";
448+
OTHER_LDFLAGS = (
449+
"$(inherited)",
450+
"-L$(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/$(PLATFORM_NAME)",
451+
);
446452
PRODUCT_BUNDLE_IDENTIFIER = io.invertase.testing;
447453
PRODUCT_NAME = testing;
448454
PROVISIONING_PROFILE_SPECIFIER = "";

0 commit comments

Comments
 (0)