背景
执行brew install fastlane
时发生警告以及报错提示:
Warning: You are using macOS 13.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
·······
Error: fastlane: no bottle available!
原因
更新系统到macOS13后未更新brew环境
解决办法
执行brew update
, 完毕后再使用 brew install xxx(要安装的插件)
即可。
brew update
==> Downloading https://formulae.brew.sh/api/formula.jws.json
################################################################################### 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
################################################################################### 100.0%
Already up-to-date.
brew install fastlane
==> Fetching dependencies for fastlane: ca-certificates, openssl@3, readline, ruby@3.1 and terminal-notifier
==> Fetching ca-certificates
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2023-01-10
################################################################################### 100.0