Downloading cocoapods pods spec gives error

We are running this command , and getting error - unexpected token `newline’
command - curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf

Is anyone else facing this issue?

Hi, please see:

Hey - Thank you very much for the reply!!

I’m wondering if it is ok to not call that line at all. Do you know if there’s an alternative code snippet for that?

No problem! If you switch to using the Cocoapods CDN then you do not need to pull any spec repos at all, you just need to edit your podfile as described in our docs and you should be good to go: Testing iOS Applications on macOS - CircleCI