GoogleNavigation Framework Reference

GMSMapViewNavigationLayoutErrorCodeCannotSetDelegateOnCarPlayScreen

static const GMSMapViewNavigationLayoutErrorCode
    GMSMapViewNavigationLayoutErrorCodeCannotSetDelegateOnCarPlayScreen = 2

The layout delegate cannot be set on a CarPlay screen.