背景
執(zhí)行brew install fastlane
時(shí)發(fā)生警告以及報(bào)錯(cuò)提示:
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!
原因
更新系統(tǒng)到macOS13后未更新brew環(huán)境
解決辦法
執(zhí)行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