iOS Build Environment Help Center

The CocoaPods daemon definitely won't start.

append delete Ruslan

Hi.
Sometimes when I build a project using the CocoaPods Daemon, the daemon fails to start. Here is a message that comes out (wrote below). After some time, I manage to start the daemon, but I would like it to always start the first time.
Tell me, what could be the reason?
Thanks.

INFO: this project relies on CocoaPods to install extra packages.
The CocoaPods command about to be sent is "pod install"
[A]ccept or [C]hange? Default is to [A]ccept if no answer in 5 seconds.

Delegating "pod install" job to CocoaPods daemon...
ERROR: The CocoaPods daemon definitely won't start. Something's wrong with your installation.
The CocoaPods daemon is not running.
ssh: connect to host 127.0.0.1 port 15051: Connection refused
ssh: connect to host 127.0.0.1 port 15051: Connection refused
Preparing staging directory...
ssh: connect to host 127.0.0.1 port 15051: Connection refused
lost connection
Sending command: "pod install"
========================== CocoaPods output BEGIN ===========================
ssh: connect to host 127.0.0.1 port 15051: Connection refused
=========================== CocoaPods output END ============================
NOTICE: this command returned a non-success exit status (255).

:: @Ruslan added on 14 Oct ’21 · 13:14

Sorry.

• Windows version: 10
• Builder version : 3.35.4/3.39
• iOS SDK version 14.5

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

Hello
If it works sometimes and sometimes not, it's possible that it's related to your computer's memory usage. The CocoaPods subsystem (actually a BSD virtual machine) requires a fair amount of RAM. How much available memory do you have when the problem happens ?

append delete #2. Ruslan

Thank you very much for your help!
I do have RAM problems sometimes. I have 24GB, but because many programs are open and about 15-16GB are almost always loaded, then problems may arise due to lack of memory. Now I will know that this problem also applies to memory.

append delete #3. Pierre-Marie Baty

The next time it happens, please have a quick look in the task manager how much available RAM your system has, so that I increase the minimal requirements check before starting the daemon (in order to display a more meaningful message). Thank you

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