When I run pod setup, I get this error:
LeodeMacBook-Pro:repos Leo$ pod setup
Setting up CocoaPods master repo
[!] /usr/local/bin/git clone https://github.com/CocoaPods/Specs.git master
Cloning into 'master'...
error: RPC failed; curl 56 SSLRead() return error -36
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Maybe, because my bad networking?
Do this:
sudo rm -rf ~/.cocoapods/repos/master
git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
Than run pod setup again.
Related
When pod install I get
Analyzing dependencies
Downloading dependencies
Installing libpd-ios (0.11.0)
[!] Error installing libpd-ios
[!] /usr/bin/git -C /var/folders/2w/0wtczkq94c9ch_y6m89gg29m0000jq/T/d20221207-77916-57ccbt submodule update --init --recursive
Submodule 'jni/opensl_stream' (git://github.com/nettoyeurny/opensl_stream.git) registered for path 'jni/opensl_stream'
Submodule 'pure-data' (git://git.code.sf.net/p/pure-data/pure-data) registered for path 'pure-data'
Cloning into '/private/var/folders/2w/0wtczkq94c9ch_y6m89gg29m0000jq/T/d20221207-77916-57ccbt/jni/opensl_stream'...
fatal: unable to connect to github.com:
github.com[0: 140.82.121.4]: errno=Operation timed out
according to fatal: unable to connect to github.com: github.com[0: 140.82.121.3]: errno=Operation timed out this is related to ssh
but how do I fix it?
I'm trying to install the azure libraries via cocoapods for device use but it's not letting me. The branch jbobotek-test-cocoa is missing.
Below are the console log when trying to do a pod install:
Installing AzureIoTUtility (1.1.12d)
[!] Error installing AzureIoTUtility
[!] /usr/bin/git clone https://github.com/Azure/azure-c-shared-utility.git /var/folders/f9/zvsz4k2j56d35r49dq33cc0r0000gp/T/d20200117-31514-hwmiqr --template= --single-branch --depth 1 --branch jbobotek-test-cocoa
Cloning into '/var/folders/f9/zvsz4k2j56d35r49dq33cc0r0000gp/T/d20200117-31514-hwmiqr'...
warning: Could not find remote branch jbobotek-test-cocoa to clone.
fatal: Remote branch jbobotek-test-cocoa not found in upstream origin
[!] /usr/bin/git clone https://github.com/AFNetworking/AFNetworking.git /var/folders/vm/2w09wypj79931z2gbs0zvcv80000gn/T/d20161018-7424-1oqafh4 --template= --single-branch --depth 1 --branch 3.1.0
Cloning into '/var/folders/vm/2w09wypj79931z2gbs0zvcv80000gn/T/d20161018-7424-1oqafh4'...
fatal: unable to access Failed to connect to github.com port 443: Operation timed out:
While running 'pod setup' in terminal, it fails with below error:
error: RPC failed; curl 56 SSLRead() return error -36
fatal: The remote end hung up unexpectedly
fatal: early EOF fatal: index-pack failed
Increase the http buffer
git config http.postBuffer 524288000
and still gettin the issue please
Please open the terminal and execute this
git config --global user.email "youremail#xxx.xxx"
then try pod setup
I like to integrate a zip library in my macOS application.
I created the Podfile with pod init and added the pod to it:
# Uncomment this line to define a global platform for your project
platform :osx, '10.10'
target 'Test' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for Test
pod 'Zip', '~> 0.4'
end
But if I execute pod install I am getting following output on the console (tried it a few times):
Analyzing dependencies
Downloading dependencies
Installing Zip (0.4.3)
[!] Error installing Zip
[!] /usr/bin/git clone https://github.com/marmelroy/Zip.git /var/folders/n5/4f8c27g57tn94vhb7xcd95ww0000gp/T/d20160712-26003-1l6n5lt --template= --single-branch --depth 1 --branch 0.4.3
Cloning into '/var/folders/n5/4f8c27g57tn94vhb7xcd95ww0000gp/T/d20160712-26003-1l6n5lt'...
error: RPC failed; curl 56 SSLRead() return error -9806
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
After installing curl with OpenSSL pod install did work:
$ brew install --with-openssl curl