def METHOD_NAME(self, path: Path) -> T.Optional[str]:
    # According to the spec, 'Headers' must always be a symlink to the
    # Headers directory inside the currently-selected version of the
    # framework, but sometimes frameworks are broken. Look in 'Versions'
    # for the currently-selected version or pick the latest one.
    trials = ('Headers', 'Versions/Current/Headers',
              self._get_framework_latest_version(path))
    for each in trials:
        trial = path / each
        if trial.is_dir():
            return trial.as_posix()
    return None