Bitrise embeds a snapshot mirror inside the stack for performance reasons. This means that the moment that the stack is updated, then the snapshot is essentially out of date.
When you try to install a dependency version that is newer than the last snapshot date (usually the last stack update), the dependency will not be found and you will get an error such as dependency not found
.
Install the latest version with Cocoapods:
pod repo update
Install the latest version with Homebrew:
cd "$(brew --repository)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://github.com/Homebrew/homebrew-core.git
cd "$(brew --repository)/Library/Taps/homebrew/homebrew-cask"
git remote set-url origin https://github.com/Homebrew/homebrew-cask.git
brew update
To check the date for the latest commit in our mirrors:
Cocoapods
cd ~/.cocoapods/repos/master
git log -1 origin/master
Homebrew
cd "$(brew --repository)/Library/Taps/homebrew/homebrew-core"
git log -1 origin/master