概要
最近、Mac の OS バージョンを catalina にアップデートしたのですが
その後、 brew で以下のエラーが出るようになりました。
Error: An exception occurred within a child process: NoMethodError: undefined method `path' for nil:NilClass Did you mean? paths
ちょっと調べてみると、以下のページを発見。
brew doctor
してみろとのこと。 Xcode が古いかもしれないみたいですね。
$ brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or file an issue; just ignore this. Thanks! Warning: Your Xcode (10.2) is too outdated. Please update to Xcode 11.4.1 (or delete it). Xcode can be updated from the App Store. Warning: Your Xcode (10.2) is outdated. Please update to Xcode 11.4.1 (or delete it). Xcode can be updated from the App Store.
思いっきり outdated って言われてますねw
てことで Xcode をアップデートしたところ、ちゃんと動きました。
過去の記事については、以下のページからご参照下さい。
- いろいろ備忘録日記まとめ
サンプルコードは、以下の場所で公開しています。
- いろいろ備忘録日記サンプルソース置き場