Search code examples
xcodecocoapods

Couldn't determine repo type for URL (gitlab + Mac)


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


Solution

  • Problem is solved by adding repository with this command in terminal:

    bundle exec pod repo add https://gitlab.myproject/podspecs.git