def get_sdk_name(
        cls,
        device: Device,
        credentials: AppSigningCredentials,
    ) -> str:
        """
        Get the SDK name for the given device type.

        Parameters
        ----------
        device: Device
            The target device for which the SDK name is being determined.

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

        Get the SDK name for the given device type.

        Parameters
        ----------
        device: Device
            The target device for which the SDK name is being determined.

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