Skip to content

Commit 3914452

Browse files
authored
Revert "Revert "swift-api-checker: update target triples for the tool to use""
1 parent 5bf69b3 commit 3914452

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
@@ -78,10 +78,10 @@ def create_directory(path):
7878
class DumpConfig:
7979
def __init__(self, tool_path, platform):
8080
target_map = {
81-
'iphoneos': 'arm64-apple-ios10.0',
82-
'macosx': 'x86_64-apple-macosx10.11',
83-
'appletvos': 'arm64-apple-tvos10.0',
84-
'watchos': 'armv7k-apple-watchos3.0',
81+
'iphoneos': 'arm64-apple-ios13.0',
82+
'macosx': 'x86_64-apple-macosx10.15',
83+
'appletvos': 'arm64-apple-tvos13.0',
84+
'watchos': 'armv7k-apple-watchos6.0',
8585
}
8686
self.tool_path = get_api_digester_path(tool_path)
8787
self.platform = platform
@@ -169,8 +169,8 @@ def main():
169169
the output file of the module baseline should end with .json
170170
''')
171171

172-
basic_group.add_argument('--swift-version', default='4', help='''
173-
Swift version to use; default is 4
172+
basic_group.add_argument('--swift-version', default='5', help='''
173+
Swift version to use; default is 5
174174
''')
175175

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

0 commit comments

Comments
 (0)