Cocoapods: Unable to find a specification for `Firebase/Core`

try below commands:

pod repo remove master
pod repo update
pod install --verbose

try to delete the file podfile.lock
it helps with issue:

[!] CocoaPods could not find compatible versions for pod "Firebase/Core":
In snapshot (Podfile.lock):
Firebase/Core (= 4.8.1)


Try to update pod repository

pod repo update

If doesn't help show log from

pod install --verbose

Edit:

try to add

source 'https://github.com/CocoaPods/Specs.git'

to your Podfile. If doesn't help probably there is a problem with your local pod repo. You can fix this using:

pod repo remove master
pod setup
pod install