このページには広告が含まれる場合があります。
「flutter doctor」したら
Error executing simctl: 69
というエラーが出て失敗することがあります。
[✓] Flutter (Channel stable, 3.3.2, on macOS 12.5.1 21G83 darwin-x64, locale ja-JP) Error executing simctl: 69 You have not agreed to the Xcode license agreements, please run 'sudo xcodebuild -license' from within a Terminal window to review and agree to the Xcode license agreements. [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [!] Xcode - develop for iOS and macOS (Xcode 14.0) ✗ Xcode end user license agreement not signed; open Xcode or run the command 'sudo xcodebuild -license'. ✗ Xcode requires additional components to be installed in order to run. Launch Xcode and install additional required components when prompted or run: sudo xcodebuild -runFirstLaunch ✗ CocoaPods installed but not working. You appear to have CocoaPods installed but it is not working. This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it. This can usually be fixed by re-installing CocoaPods. To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions. [✓] Chrome - develop for the web [✓] Android Studio (version 2021.1) [✓] Android Studio (version 2021.2)
その場合は、
1)XCodeを開いて
2)以下の要領で、XCodeのライセンス契約に同意+必要なツール(コンポーネント)をインストール
してもらうと解消します(エラーメッセージ通りなので、記事にする必要もないかもしれませんが、、)
(詳しくは、以下の動画で解説していますので、よろしければご覧ください)