I’m trying to execute "make gen" command in my project directory, but have an error:
"Сouldn’t determine repo type for URL: https://gitlab.myproject/podspecs.git
: (): mapping values are not allowed in this context at line … column …"
I’ve been looking here and googling, but without success. Only found similar errors for pods and YAML, but they are specific.
I’ve checked my Podfile as well and it has source ‘https://gitlab.myproject/podspecs.git’, so that OK
4
Answers
Problem is solved by adding repository with this command in terminal:
pod repo add [name podSpecs] [URL Podspecs]
example:
I was not able to solve that problem using other responses.
So i have try different things. And finally i downgrade my cocoapods version. from 1.11.2 (last at this time) to 1.8.4 (which i had on another computer).
And it worked fine.
I did not try with other versions.
I solved this issue for my case by changing to SSH instead of HTTP for the source in my
Podfile
.source [email protected]:domain/repo.git