XCRUN: Erro: Path de desenvolvedor ativo inválido (/pplications/xcode.app/contents/developer),

$ sudo xcode-select -r
$ sudo xcode-select --switch /Library/Developer/CommandLineTools
Shy Shrike