I would like to use EB Garamond (distributed with TeX Live) in a document typeset by XeLaTeX on OS X 10.11:
\documentclass{article}
\usepackage{fontspec}
\setmainfont[Ligatures=TeX]{EB Garamond}
\begin{document}
Hello, World!
\end{document}
However when I run xelatex it produces the following error:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "EB Garamond" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.3 \setmainfont[Ligatures=TeX]{EB Garamond}
Even though the font exists on my system:
$ ls /usr/local/texlive/2015/texmf-dist/fonts/opentype/public/ebgaramond/
EBGaramond12-Italic.otf EBGaramondInitials.otf
EBGaramond12-Regular.otf
How do I get XeLaTeX to use the TeX Live copy of EB Garamond on OS X?
Related: The same question but for Ubuntu GNU/Linux