code: def OSXEnumerateRunningServicesFromClient(args):
    
    del args  # Unused.
    osx_version = client_utils_osx.OSXVersion()
    version_array = osx_version.VersionAsMajorMinor()
  
    if version_array[:2] < [10, 6]:
      raise UnsupportedOSVersionError(
          "ServiceManagement API unsupported on < 10.6. This client is %s" %
          osx_version.VersionString())
  
    launchd_list = GetRunningLaunchDaemons()
  
    parser = osx_launchd.OSXLaunchdJobDict(launchd_list)
    for job in parser.Parse():
      response = CreateServiceProto(job)
      yield response
docs: Get running launchd jobs.
  
    Args:
      args: Unused.
  
    Yields:
      `rdf_client.OSXServiceInformation` instances.
  
    Raises:
        UnsupportedOSVersionError: for OS X earlier than 10.6.