我分叉了 CBZSplashView,我想在我自己的项目中使用它。
为了确保问题不是来自我,我从头开始创建了一个 Xcode 项目。
我的项目 Podfile 包含一行:
pod 'CBZSplashView', :git=> 'git@github.com:rvirin/CBZSplashView.git', :branch => 'remy'
当我跑步pod install
或者pod update
我有原始版本的 pod 时——不是我的叉子。
我做错了什么?
该:git
参数会覆盖 podspec 的来源。
我试图修改 podspec 以表明源文件现在在我的存储库中,但也没有工作。
日志pod update --verbose
:
-> Pre-downloading: `CBZSplashView` from `git@github.com: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'
任何帮助表示赞赏:)
$ pod --version
0.33.1