Either Homebrew or CocoaPods can occasionally return an error when trying to find a certain dependency after a recent update of a Bitrise stack. For example, CocoaPods might throw the
CocoaPods could not find compatible versions for pod X error.
This can happen if the stack does not yet have the latest version of the dependency manager you are trying to use. Update the dependency manager to the latest version.
pod repo update
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
If you are unsure about when was the dependency manager last updated on our stacks, you can check it:
cd ~/.cocoapods/repos/master git log -1 origin/master cd "$(brew --repository)/Library/Taps/homebrew/homebrew-core" git log -1 origin/master