Error output from CocoaPods:
Cloning into ‘/var/folders/6s/7sk206y51kzdp8j2x8n9m2j00000gn/T/d20220728-31697-ijlopm’…
fatal: unable to access ‘https://github.com/zhangao0086/DKImagePickerController.git/’: Failed to connect to github.com port 443 after 75020 ms: Operation timed out
Error running pod install
Error launching application on iPhone 11.
There is problem with Github connection. It generally due to the network environment in some countries.
Modify your hosts file on Mac.
Find this file ‘/etc/hosts’ in Finder.
Add the following lines in hosts file.
Or you can unset the proxy with this command.
git config –global –unset http.proxy