0

I'm trying to install a Pod from the git repository with a branch.

Something like this:

pod 'ThePod', :git => 'https://gitlab.kz/company/mobile/ios-app.git', :branch => 'feature-branch'

✅ There is no problem if a .podspec file is located in the root of the repository.

⚠️ The problem is, that .podspec file is located inside the /src directory.

So, when I run pod install, of course I get

[!] Unable to find a specification for 'ThePod'.

which is obvious.

Is there any chance to specify the path to a .podspec file while using the :git => configuration?

Almas Adilbek
  • 4,371
  • 10
  • 58
  • 97

1 Answers1

0

I don't think so. When I ran into this problem, I moved the .podspec files to the repo root.

Paul Beusterien
  • 27,542
  • 6
  • 83
  • 139