from pathlib import Path
import plistlib


def get_min_os_ver(f: Path) -> str:
    """Get the minium OS version required
    :param f (Path): Info.plist file to pull OS requirements from"""
    result = None

    with open(f, "rb") as plist_file:
        plist = plistlib.load(plist_file)
        result = plist.get("LSMinimumSystemVersion")

    return result