To connect my Pixel XL running Android P on my iMac running High Sierra I go into Developer Options, click on Default USB configuration and select File Transfer.
On Marshmallow (7.11) I go into Settings > Developer Options > Select USB Configuration and select the MTP (Media Transfer Protocol) option.