#はじめに
初歩的なエラーかと思いますが、初心者のため備忘録を含め記録として残したいと思います。
#結論:Xcordの環境設定でバージョンを選択する。
解決までの流れを説明します。
#①carthage update --platform iOS
carthage導入時、上記コマンドを入力した際に
CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES -list) failed with exit code 72: xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH
というエラーが発生してしました。
ターミナル上に以下のコマンドを入力することで解決する記事を発見しましたが、
僕の事例には当てはまりませんでした。
sudo xcode-select -switch /Applications/Xcode9.2.app/Contents/Developer
#②xcordの環境設定でバージョンを選択する
https://github.com/Carthage/Carthage/issues/1325
上記記事の通り、Priferences
→locations
→Command Line Tools
を選択しバージョンを指定することで解消しました。

ご参考になれば幸いです。