def METHOD_NAME(profile_path, our_app_id_re):
  """Processes one mobileprovision file.
  Checks if its app ID matches one of our example apps, and symlinks it in the
  appropriate location if so.
  Args:
    profile_path: Path to the mobileprovision file.
    our_app_id_re: Regular expression to extract the example name from one of
      out app ids.
  """
  app_id = get_app_id(profile_path)
  if not app_id:
    print(f"Could not parse '{profile_path}', skipping")
    return
  match = our_app_id_re.match(app_id)
  if not match:
    return
  app_name = match.group(1)
  app_dir_name = app_name.lower()
  if app_dir_name not in example_names:
    print(f"The app id '{app_id}' has our prefix, but does not seem to match" +
          "any of our examples. Skipping.")
    return
  print(f"Found profile for {app_name}")
  link_path = os.path.join(examples_ios, app_dir_name,
                           "provisioning_profile.mobileprovision")
  update_symlink(profile_path, link_path)