0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

You may be prompted to give access to control Xcode. Flutter uses Xcode to run your app. If access is not allowed, you can change this through your Settings > Privacy & Security > Automation.

Posted at

エラー本文

You may be prompted to give access to control Xcode. Flutter uses Xcode to run your app. If access is not allowed, you can change this through your Settings > Privacy & Security > Automation.

Oops; flutter has exited unexpectedly: "SocketException: Send failed (OS Error: No route to host, errno = 65), address = 0.0.0.0, port = 5353".
A crash report has been written to /Users/user-name/your-project/flutter_02.log

エラーの翻訳

Xcodeをコントロールするためのアクセス権を与えるようプロンプトが表示されるかもしれません。FlutterはXcodeを使ってアプリを実行します。アクセスが許可されていない場合は、設定 > プライバシーとセキュリティ > オートメーションから変更できます。

発生手順

AndroidStudioのコンソール及び、RunボタンでiOS用のビルドを実行すると上述のエラーが出る

発生した環境

  • macOS Sequoia 15.2
  • AndroidStudio LadyBug及びAndroidStudio Jellyfish
  • Xcode16.2
  • Flutter 3.27.3
  • cocoapod 1.16.2

回避策

VSCodeを使用してビルドを実行し、途中で出てくるポップアップを許可する

キャンセルした場合は

リンゴマーク > システム設定 > プライバシーとセキュリティ > ローカル ネットワーク > VsCodeのtoggleをオンにする

※AndroidStudioでの解決方法は見つかりませんでした。また最新版であるのAndroidStudio Meerkatのリリースにも修正内容として上記の対応は書かれていませんでした。

原因

詳しくはないのですが、AndroidStudioのCommandLineToolがおかしいのではないかと言われてますね

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?