[!] Error installing FirebaseCore
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
To fix this
Opened Xcode
Preferences - Locations
Selected the Command Lin Tools: Xcode