File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
utils/swift_build_support/swift_build_support Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -28,27 +28,6 @@ def _output(args):
28
28
return None
29
29
30
30
31
- def get_xcode_sdks ():
32
- """
33
- A generator for canonical Xcode SDK identifiers (e.g. 'macosx10.11' or
34
- 'iphonesimulator9.2') available in the currently selected Xcode.
35
-
36
- :return: A generator of SDK identifiers (strings).
37
- """
38
- try :
39
- command = ['xcodebuild' , '-showsdks' ]
40
- out = subprocess .check_output (command , stderr = subprocess .PIPE )
41
- lines = [line .rstrip () for line in out .splitlines ()]
42
- import pdb
43
- sdk_flag = '-sdk'
44
- for line in lines :
45
- if sdk_flag in line :
46
- prefix , identifier = line .split ('-sdk' )
47
- yield identifier .lstrip ().rstrip ()
48
- except subprocess .CalledProcessError :
49
- pass
50
-
51
-
52
31
def print_xcodebuild_versions (file = sys .stdout ):
53
32
"""
54
33
Print the host machine's `xcodebuild` version, as well as version
@@ -60,4 +39,3 @@ def print_xcodebuild_versions(file=sys.stdout):
60
39
file = file )
61
40
# You can't test beyond this because each developer's machines may have
62
41
# a different set of SDKs installed.
63
-
You can’t perform that action at this time.
0 commit comments