def objc_provider_framework_name(path):
    """Returns the name of the framework from an `objc` provider path.

    Args:
        path: A path that came from an `objc` provider.

    Returns:
        A string containing the name of the framework (e.g., `Foo` for `Foo.framework`).
    """
    return path.rpartition("/")[2].partition(".")[0]