$ flutter doctor の指摘「Xcode installation is incomplete; a full installation is necessary for iOS development.」をクリアするの?|Mac|Xcode|iOS|Flutter


Flutter 公式の macOS install を参照して Run flutter doctor に記載されていた通りに、セットアップに必要な依存関係をチェックしていたら、以下の不足が…。


[!] Xcode - develop for iOS and macOS
     Xcode installation is incomplete; a full installation is necessary for iOS development.
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch


実は Install Xcode にちゃんと書いてあった。

Configure the Xcode command-line tools to use the newly-installed version of Xcode by running the following from the command line:

本当に指摘そのまま、

$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

$ sudo xcodebuild -runFirstLaunch

を順番に実行するだけ。


これでもう一度「$ flutter doctor」したら解決~。


#関連する記事


#参照した記事


#直近に読んでいた漫画(おすすめ)

コメント

このブログの人気の投稿

ImagePicker を操作すると「Lost connection to device.」とだけ言い残して強制終了するの?|iOS|Flutter

Android SDK バージョン(コンパイルに使用する Android API レベル)を変更するの?|compileSdkVersion|SDK|Android|Flutter