Cocoapods do not use pod and pod install

I have a problem configuring Cocoapods using the pod setup command, SSLRead() with SSLRead() error. I found a workaround for manually loading Cocoapods specifications. However, when I need to install the library using the pod install command in my project directory, SSL issues persist. The return is as follows:

 Downloading dependencies Installing AFNetworking (2.2.1) [!] Error installing AFNetworking [!] /usr/bin/git clone https://github.com/AFNetworking/AFNetworking.git/Users/DavisChung/Documents/Programming/Xcode\ Projects/TapBit/Pods/AFNetworking --single-branch --depth 1 --branch 2.2.1 Cloning into '/Users/DavisChung/Documents/Programming/Xcode Projects/TapBit/Pods/AFNetworking'... fatal: unable to access 'https://github.com/AFNetworking/AFNetworking.git/': Server aborted the SSL handshake 

One for all, how can I solve SSL problems? My Mac OS Version - Yosemite 10.10.2 Thanks

+8
ios ssl cocoapods macos
source share
2 answers

After the same problem, I realized that my network provider randomly resolves check if I am human . There may be another solution, but when starting from the terminal there is no additional way to answer. Therefore, the network provider is the one that can cause the problem.

To do this, I decided to change the network , and then restarted pod install . When I did, the jets were updated.

+1
source share

It seems that your network is running under a proxy. For this case, you need to download the project from github by specifying this directory inside the podfile

 pod 'MyPod', :local => "/Path/To/Pod" 
0
source share

All Articles