在升级到Flutter 1.17.1和Xcode11.5之后,我不能再为iOS构建。尽管遵循了https://flutter.dev/docs/development/ios-project-migration中的所有方向
有没有人面临同样的问题?有什么解决方案吗?
flutter doctor
Waiting for another flutter command to release the startup lock...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E287, locale en-SG)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Android Studio (version 3.6)
[!] Android Studio (version 2.3)
✗ Flutter plugin version 12.1 - the recommended minimum version is 16.0.0
[✓] VS Code (version 1.45.1)
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.这是我做颤振跑时的输出
Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Your Xcode project requires migration. See https://flutter.dev/docs/development/ios-project-migration for details.
Error launching application on iPhone 11 Pro Max.发布于 2020-05-24 15:48:51
来自1.13=>1.17。它没有自动升级我的项目,所以我不得不在Xcode中工作一些。我通过执行迁移页面上列出的所有步骤解决了这个问题。然后执行:
rm -rf ios/Flutter/App.framework
rm -rf ios/Pod*
flutter clean构建并运行=> success
发布于 2020-05-25 15:23:55

是的,另外,我还得把上面的去掉。
谢谢
https://stackoverflow.com/questions/61931485
复制相似问题