Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Podfile doesn't install selected branch

Hi I'm trying to add https://github.com/fxm90/GradientLoadingBar/tree/feature/notch-gradient-loading-bar in my Xcode project , but when I specify
pod 'GradientLoadingBar', :git => 'https://github.com/fxm90/GradientLoadingBar', :branch => 'feature/notch-gradient-loading-bar' in my Podfile

doesn't download me the branch. I also tried with :branch => 'notch-gradient-loading-bar' , but also unsuccessfully. It downloads something, but is not the branch that I need and I cannot implement the new feature NotchGradientLoadingBar

let notchGradientLoadingBar = NotchGradientLoadingBar(height: 6) gives me an error Use of unresolved identifier 'NotchGradientLoadingBar'

like image 206
Bogdan Bogdanov Avatar asked Jun 12 '26 11:06

Bogdan Bogdanov


1 Answers

As best I can tell there appears to be only one branch (see here for reference). You need only checkout the standard branch and from there you can implement NotchGradientLoadingBar using the documentation found here.

In my testing, after adding the main branch to your Xcode project and importing GradientLoadingBar, you should be able to use let notchGradientLoadingBar = NotchGradientLoadingBar(height: 6) with no problem.

like image 143
Isaac Avatar answered Jun 15 '26 11:06

Isaac