When you pod a new project or pod a third-party library, you often report an error
error: RPC failed; curl 56 libressl_ read: SSL_ ERROR_ SYSCALL, errno 54
This is because git download is limited, so extend git download limit
command line
git config --global http.postBuffer 524288000
It’s going to solve the problem