Show More
@@ -573,6 +573,8 b" if sys.platform == 'darwin' and os.path." | |||||
573 | version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[0].splitlines() |
|
573 | version = runcmd(['/usr/bin/xcodebuild', '-version'], {})[0].splitlines() | |
574 | if version: |
|
574 | if version: | |
575 | version = version[0] |
|
575 | version = version[0] | |
|
576 | if sys.version_info[0] == 3: | |||
|
577 | version = version.decode('utf-8') | |||
576 | xcode4 = (version.startswith('Xcode') and |
|
578 | xcode4 = (version.startswith('Xcode') and | |
577 | StrictVersion(version.split()[1]) >= StrictVersion('4.0')) |
|
579 | StrictVersion(version.split()[1]) >= StrictVersion('4.0')) | |
578 | xcode51 = re.match(r'^Xcode\s+5\.1', version) is not None |
|
580 | xcode51 = re.match(r'^Xcode\s+5\.1', version) is not None |
General Comments 0
You need to be logged in to leave comments.
Login now