iOS Build Environment Help Center

Problem with Cocoapods

append delete kevin.lachance

Windows version: Win10
Builder version: 3.58
iOS SDK version: 16.4

Hello

I want to say thanks for the awsome tool i managed to build alot of our project with it. But i have one with cocoapods and i have some problem when i start the build(i use the daemon tool):

Analyzing dependencies
Pre-downloading: `PodName` from `git@github.com:....git`, branch `develop`, submodules `true`

[!] Error installing PodName
[!] Failed to download 'PodName': [!] /usr/local/bin/git clone git@github.com:....git /tmp/d20230712-682-truct0 --template= --single-branch --depth 1 --branch develop

Cloning into '/tmp/d20230712-682-truct0'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

The host key is good because i can clone the with the same git bash command (git clone git@github.com:....git)

Thanks for your help.

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello Kevin

I'm guessing your computer has a firewall and you didn't allow network access to the CocoaPods daemon virtual machine. That would explain why it can't connect to GitHub. Please verify your firewall permissions for cocoapods-daemon.exe and/or add it explicitly to the list of apps allowed to use the network.

append delete #2. Problem with Cocoapo

Thanks for the follow up,

I added the CocoaPods daemon virtual machine(cocoapods-daemon.exe) to my firewall permissions but i can't acces to GitHub.

append delete #3. Pierre-Marie Baty

Maybe GitHub updated their SSL key and the intermediate certification authority they used for that is more recent than the ones known by the CocoaPods VM. I'll do a few tests and post back.

append delete #4. Pierre-Marie Baty

Sorry for the delay of my reply. I did some tests today and couldn't experience your connectivity issue with CocoaPods. In case the problem hasn't solved itself automagically, would you mind sending your Podfile to my email address ? Thanks in advance.

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty