parameters: ()
docstring: Returns the major and minor version of the current Xcode
      command line tools as a tuple of (major, minor)
docstring_summary: Returns the major and minor version of the current Xcode
      command line tools as a tuple of (major, minor)
docstring_tokens: Returns the major and minor version of the current Xcode command line tools as a tuple of ( major minor )
function: def get_xcode_version():
      """
      Returns the major and minor version of the current Xcode
      command line tools as a tuple of (major, minor)
      """
      ret = check_output(["xcodebuild", "-version"]).decode('utf-8')
      m = re.match(r'Xcode\s+(\d+)\.(\d+)', ret, flags=re.IGNORECASE)
      if m:
          return (int(m.group(1)), int(m.group(2)))
      else:
          raise Exception("Failed to parse Xcode version")
function_tokens: def get_xcode_version ( ) : ret = check_output ( [ "xcodebuild" , "-version" ] ) . decode ( 'utf-8' ) m = re . match ( r'Xcode\s+(\d+)\.(\d+)' , ret , flags = re . IGNORECASE ) if m : return ( int ( m . group ( 1 ) ) , int ( m . group ( 2 ) ) ) else : raise Exception ( "Failed to parse Xcode version" )