Skip to content

Commit e937184

Browse files
committed
swift-api-checker.py: add framework search path for XCTest
1 parent 419b147 commit e937184

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/api_checker/swift-api-checker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ def __init__(self, tool_path, platform, platform_alias, abi, verbose):
115115
if self.platform == 'macosx':
116116
# We need this input search path for CreateML
117117
self.inputs.extend([self.sdk + '/usr/lib/swift/'])
118-
self.frameworks = []
118+
# This is where XCTest is
119+
self.frameworks = [self.sdk + '/../../Library/Frameworks/']
119120
if self.platform.startswith('iosmac'):
120121
# Catalyst modules need this extra framework dir
121122
iOSSupport = self.sdk + \

0 commit comments

Comments
 (0)