Skip to content

Commit

Permalink
Include Swift lib in LIBRARY_SEARCH_PATHS
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Luna Wei authored and facebook-github-bot committed Aug 25, 2021
1 parent 8da6964 commit ad9030c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/rn-tester/RNTesterPods.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,7 @@
"$(inherited)",
"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)",
"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)",
"\"$(SDKROOT)/usr/lib/swift\"",
);
"LIBRARY_SEARCH_PATHS[arch=*]" = "$(inherited)";
OTHER_LDFLAGS = (
Expand Down Expand Up @@ -821,6 +822,7 @@
"$(inherited)",
"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)",
"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)",
"\"$(SDKROOT)/usr/lib/swift\"",
);
OTHER_LDFLAGS = (
"$(inherited)",
Expand Down

0 comments on commit ad9030c

Please sign in to comment.