I forked CBZSplashView and I'd like to use it in my own project.
To be sure that the problem doesn't come from me, I create a Xcode project from scratch.
My project Podfile contains one line :
pod 'CBZSplashView', :git=> '[email protected]:rvirin/CBZSplashView.git', :branch => 'remy'
When I run pod install
or pod update
I've got the original version of the pod - not my fork.
What I'm doing wrong?
The :git
parameter overrides the source of the podspec.
I tried to modify the podspec to indicate that the source files are now on my repository, but didn't work either.
Log of pod update --verbose
:
-> Pre-downloading: `CBZSplashView` from `[email protected]:rvirin/CBZSplashView.git`, tag `1.0.1`
> GitHub download
$ /usr/bin/git config core.bare
true
$ /usr/bin/git config core.bare
true
> Updating cache git repo (/Users/rvi/Library/Caches/CocoaPods/GitHub/8520768890e6fa2ea91b3d9e8bb9f2afbb31ab60)
$ /usr/bin/git remote update
Fetching origin
> Cloning to Pods folder
$ /usr/bin/git clone /Users/rvi/Library/Caches/CocoaPods/GitHub/8520768890e6fa2ea91b3d9e8bb9f2afbb31ab60 /Users/rvi/Devs/Lima/iOS/Lima/Pods/CBZSplashView
Cloning into '/Users/rvi/Devs/Lima/iOS/Lima/Pods/CBZSplashView'...
done.
$ /usr/bin/git fetch origin tags/1.0.1 2>&1
From /Users/rvi/Library/Caches/CocoaPods/GitHub/8520768890e6fa2ea91b3d9e8bb9f2afbb31ab60
* tag 1.0.1 -> FETCH_HEAD
$ /usr/bin/git reset --hard FETCH_HEAD
HEAD is now at 56d4dc7 change branch
$ /usr/bin/git checkout -b activated-pod-commit 2>&1
Switched to a new branch 'activated-pod-commit'
Any help is appreciate :)
$ pod --version
0.33.1
You can use following code to install Github repository to use as CocoaPods and paste this in your Podfile :
pod 'CBZSplashView', :git => 'https://github.com/rvi/CBZSplashView.git', :branch => 'master'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With