Hey, so I was trying to run Stan and it didn’t work. Luckily for me, I was running it in Markdown and it gave me the helpful error message that I needed to do “sudo xcodebuild - license”. Then I remembered that my Mac had auto-updated Xcode recently.
I went into Terminal, typed “sudo xcodebuild - license”, and followed the instructions. It worked!
Anyway, I suspect this will happen to other users who, like me, will be surprised to have this problem, but, unlike me, won’t know what to do.
I’m not sure how to warn people about this; maybe someone has an idea?
Happened to me too recently. When I ran it in RStudio I saw the message from RStan and it hit me: I had updated Xcode and needed to say ok to the license agreement :)