Spot on diagnosis! Thank you! Doing the following as it’s suggested in the link you sent:
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
then a clean installation of Anaconda and PyStan solved the issue.
Thank you so much!