Pod install error when installing bugly
[!] Error installing Bugly
[!] /usr/bin/curl -f -L -o /var/folders/6l/t2dwpz4n27v8954sbchm7rb80000gn/T/d20211230-26349-1xx9psc/file.zip https://raw.githubusercontent.com/BuglyDevTeam/Bugly-iOS/master/release/Bugly-2.5.2.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.11.2 cocoapods-downloader/1.5.1'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
Query the IP address of raw.githubusercontent.com
and add the hosts
file.
detailed steps
raw.githubusercontent.com
to query its IP address/etc
and find the hosts
filehosts
file is locked, so copy a copy to the desktophosts
, add just ip and raw.githubusercontent.com at the bottom (for example: 199.232.68.133 raw.githubusercontent.com
)/etc
directory, replace the previous filepod install
command.I encountered a similar error afterwards
[!] Error installing CocoaLumberjack
[!] /usr/bin/git clone https://github.com/CocoaLumberjack/CocoaLumberjack.git /var/folders/6l/t2dwpz4n27v8954sbchm7rb80000gn/T/d20211230-26547-5q58kr --template= --single-branch --depth 1 --branch 3.6.1
Cloning into '/var/folders/6l/t2dwpz4n27v8954sbchm7rb80000gn/T/d20211230-26547-5q58kr'...
fatal: unable to access 'https://github.com/CocoaLumberjack/CocoaLumberjack.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
I did some search, I wanted to find a reliable one to try first. I had a whim, and pod install
without modifying it. Will it be good if I try a few times, then I tried it, hey, it’s really work, just go straight to it
I have encountered it a few times later, but the old method is still the old way. Try a few more times.
new issue
[!] Error installing RegexKitLite
[!] Unable to locate the executable `svn`
In the new computer, pod install
in the terminal Some old libraries, such as RegexKitLite
, will report an error of Unable to locate the executable'svn'
, because svn
is not installed in the new computer, and xcode
does not come with it svn
.
Install svn
and then pod install
step:
brew install svn
Homebrew
is not installed, copy the content below and execute the terminal to install