The following MWE shows a incompatibility between tikz-cd and polyglossia:
\documentclass{report}
\usepackage{polyglossia}
\setmainlanguage{german}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
B \arrow{rr}{f} && C\
&A \arrow{ul}{\phi} \arrow[swap]{ru}{\psi}
\end{tikzcd}
\end{document}
I have seen a few solutions when the problems come from babel like this one here, but the solution does not work for polyglossia under xelatex.
The error is:
! Package pgfkeys Error: I do not know the key '/tikz/"{f}"{}' and I am going t
o ignore it. Perhaps you misspelled it.