IDE:
Xcode15
iOS17.2.1
问题描述:
直接flutter端运行到真机,报如下错误,而直接使用Xcode运行则正常
报错:
Launching lib/main/main.dart on Curtis’s iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: 8KTGQ28GXX
Running Xcode build...
Xcode build done. 36.8s
Installing and launching...
Could not run build/ios/iphoneos/Runner.app on 00008110-0011182834BXXXXX.
Try launching Xcode and selecting "Product > Run" to fix the problem:
open ios/Runner.xcworkspace
Error launching application on Curtis’s iPhone.
=> 按照参考文章所描述,需要将Flutter SDK更新到3.13及以上版本
参考: 解决Flutter运行报错Could not run build/ios/iphoneos/Runner.app