I'm trying to run pod install in vain :
Analyzing dependencies
Creating shallow clone of spec repo `master` from `https://github.com/CocoaPods/Specs.git`
[!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`.
You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.
I think i have a proxy issue, but i don't know how to fix it. These is the result when i try pod setup
Setting up CocoaPods master repo
[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --depth=1
Cloning into 'master'...
fatal: unable to access 'https://github.com/CocoaPods/Specs.git/':Received HTTP code 503 from proxy after CONNECT
It is possible, that your system proxy settings do not apply to the bash. Type this into bash before running pod install
:
export http_proxy=<YOUR_HTTP_PROXY>
export https_proxy=<YOUR_HTTPS_PROXY>
If it helps, you can make proxy settings load when bash starts by adding above commands to the .bash_profile
(create file if it does not exist) in your home directory.
I think you forgott to set your newly install Xcode on Command-linetool path location. please check that on Xcode-->Preferences-->Locations-->Command line tool --> set your Xcode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With