blitz-time アプリ開発ブログ

Androidアプリ開発などのTips集

【Flutter開発】Unable to prepare iPhone for development / Please check the connection to the device, and review all errors in the Devices and Simulators window.

FlutterプロジェクトをiPhone13(iOS15)の実機で実行しようとすると、実機が繋がらない。。。。

f:id:mfblitz:20211106101359p:plain

Unable to prepare iPhone for development
Please check the connection to the device, and review all errors in the Devices and Simulators window.

iPhoneを切断、再接続してもだめ。
Xcodeを起動してビルドしてもだめ。
Xcodeで「Clean Build Folder」を行なってからでもだめ。


iPhone実機を再起動すると、すんなり実行できた。