pod install react native failed

Shell
sudo xcode-select --switch /Applications/Xcode.app
cd ios && pod install
Source

Also in Shell: