code: def xcrun(cmd):
      """Run xcrun and return the output.
  
      Parameters
      ----------
      cmd : list of str
          The command sequence.
  
      Returns
      -------
      out : str
          The output string.
      """
      cmd = ["xcrun"] + cmd
      proc = subprocess.Popen(
          cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT
      )
      (out, _) = proc.communicate()
      return out.strip()
  
file_path: tvm/python/tvm/contrib/xcode.py
imports: from __future__ import absolute_import
  import os
  import sys
  import subprocess
  import json
  from .._ffi.base import py_str
  from .None import utils
label_desc: Use image node_id 1 for calling a global function with example usage: xcrun(cmd) and returns: out