Show More
@@ -1663,9 +1663,7 b" if os.name == 'nt':" | |||||
1663 | if sys.platform == 'darwin' and os.path.exists('/usr/bin/xcodebuild'): |
|
1663 | if sys.platform == 'darwin' and os.path.exists('/usr/bin/xcodebuild'): | |
1664 | version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[1].splitlines() |
|
1664 | version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[1].splitlines() | |
1665 | if version: |
|
1665 | if version: | |
1666 | version = version[0] |
|
1666 | version = version[0].decode('utf-8') | |
1667 | if sys.version_info[0] == 3: |
|
|||
1668 | version = version.decode('utf-8') |
|
|||
1669 | xcode4 = version.startswith('Xcode') and StrictVersion( |
|
1667 | xcode4 = version.startswith('Xcode') and StrictVersion( | |
1670 | version.split()[1] |
|
1668 | version.split()[1] | |
1671 | ) >= StrictVersion('4.0') |
|
1669 | ) >= StrictVersion('4.0') |
General Comments 0
You need to be logged in to leave comments.
Login now