Skip to content

Commit ad9030c

Browse files
Luna Weifacebook-github-bot
authored andcommitted
Include Swift lib in LIBRARY_SEARCH_PATHS
Summary: changelog: Fix Xcode 13 build error in RNTester Including `usr/lib/swift` fixes error: {F642876047} Reviewed By: fkgozali Differential Revision: D30559838 fbshipit-source-id: 65aad16b550d156c8670eaefcc8bedae99606329
1 parent 8da6964 commit ad9030c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/rn-tester/RNTesterPods.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,7 @@
787787
"$(inherited)",
788788
"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)",
789789
"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)",
790+
"\"$(SDKROOT)/usr/lib/swift\"",
790791
);
791792
"LIBRARY_SEARCH_PATHS[arch=*]" = "$(inherited)";
792793
OTHER_LDFLAGS = (
@@ -821,6 +822,7 @@
821822
"$(inherited)",
822823
"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)",
823824
"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)",
825+
"\"$(SDKROOT)/usr/lib/swift\"",
824826
);
825827
OTHER_LDFLAGS = (
826828
"$(inherited)",

0 commit comments

Comments
 (0)