Here\'s my Podfile content:
platform :ios, ‘8.0’
use_frameworks!
target \'Project-Name\' do
pod \'Firebase/Core\'
pod \'Firebase/Messaging\'
end
After I've installed macOS High Sierra
, I've encountered the same issue when install firebase via pod
.
The trick was to remove the curl and install it again:
curl --version // you will see the https protocol is missing, and the version would be 7.56.1 if you did try to update it before
brew remove curl
brew install curl --with-darwinssl // install with darwin instead of openssl
echo 'export PATH="/usr/local/opt/curl/bin:$PATH"' >> ~/.zshrc // run this
after you should close & quit all terminal or iTerm, then open it again run brew doctor
then run curl --version
you should see https
in the protocol list
Then you should be good to go :)
Your URL is corrupt. Check for spaces or other characters at the beginning of the URL (before http
or https
).
You might need to update git. One way:
brew install git
More here