Problem compling rstan models on Mac M1 with clang 13.0.0

Finally this worked for me: Installing Rstan - #2 by andrjohns