def get_scheme_name(
        cls,
        workspace_name: str,
        device: Device,
    ) -> str:
        """
        Determine the appropriate scheme name based on the workspace name and device type.

        Parameters
        ----------
        workspace_name: str
            The name of the Xcode workspace.

        device: Device
            The target device for which the scheme is being determined.

        Returns
        --------
        str:
            The scheme name to use for the build.
        """
        if device.type == DeviceType.WATCH:
            return f"{workspace_name.lower()}-watchos"
        elif (
            device.type == DeviceType.IPHONE
            or device.type == DeviceType.IPAD
            or device.type == DeviceType.MAC
        ):
            return workspace_name.lower()
        else:
            raise ValueError(f"No scheme for device={device}, type = {device.type}")

        Determine the appropriate scheme name based on the workspace name and device type.

        Parameters
        ----------
        workspace_name: str
            The name of the Xcode workspace.

        device: Device
            The target device for which the scheme is being determined.

        Returns
        --------
        str:
            The scheme name to use for the build.
        
coremltools/models/ml_program/experimental/remote_device.py