Skip to content

Commit 8e61c23

Browse files
committed
swift-api-checker: update target triples for the tool to use
1 parent 425a146 commit 8e61c23

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

utils/api_checker/swift-api-checker.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ def get_api_digester_path(tool_path):
7373
class DumpConfig:
7474
def __init__(self, tool_path, platform):
7575
target_map = {
76-
'iphoneos': 'arm64-apple-ios10.0',
77-
'macosx': 'x86_64-apple-macosx10.11',
78-
'appletvos': 'arm64-apple-tvos10.0',
79-
'watchos': 'armv7k-apple-watchos3.0',
76+
'iphoneos': 'arm64-apple-ios13.0',
77+
'macosx': 'x86_64-apple-macosx10.15',
78+
'appletvos': 'arm64-apple-tvos13.0',
79+
'watchos': 'armv7k-apple-watchos6.0',
8080
}
8181
self.tool_path = get_api_digester_path(tool_path)
8282
self.platform = platform
@@ -149,8 +149,8 @@ def main():
149149
the output file of the module baseline should end with .json
150150
''')
151151

152-
basic_group.add_argument('--swift-version', default='4', help='''
153-
Swift version to use; default is 4
152+
basic_group.add_argument('--swift-version', default='5', help='''
153+
Swift version to use; default is 5
154154
''')
155155

156156
basic_group.add_argument('--module', default=None, help='''

0 commit comments

Comments
 (0)