Skip to content

Commit eb93886

Browse files
sammy-SCfacebook-github-bot
authored andcommitted
Include Swift lib in LIBRARY_SEARCH_PATHS
Summary: changelog: Fix Xcode 13 build error in HelloWorld template Including `usr/lib/swift` fixes error: {F642876047} Reviewed By: p-sun Differential Revision: D30301799 fbshipit-source-id: b93eb51ec5dd929ddc46574fc11bc89934eadeaf
1 parent ec083f9 commit eb93886

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

template/ios/HelloWorld.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@
438438
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
439439
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
440440
"\"$(inherited)\"",
441+
"\"$(SDKROOT)/usr/lib/swift\"",
441442
);
442443
MTL_ENABLE_DEBUG_INFO = YES;
443444
ONLY_ACTIVE_ARCH = YES;
@@ -495,6 +496,7 @@
495496
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
496497
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
497498
"\"$(inherited)\"",
499+
"\"$(SDKROOT)/usr/lib/swift\"",
498500
);
499501
MTL_ENABLE_DEBUG_INFO = NO;
500502
SDKROOT = iphoneos;

0 commit comments

Comments
 (0)