Flutter stuck on Building Dart code after doing flutter build ios

断了今生、忘了曾经 提交于 2021-01-27 07:13:20

问题


I'm trying to build an archive by doing flutter build ios but I encounter a problem on Starting Xcode build

$ flutter build ios

Building com.example.example for the device (ios-release)...
Automatically signing iOS for device deployment using specified 
development team in Xcode project: XXXXXX
Running pod install...                                       
Starting Xcode build...
  ├─Building Dart code...     

I already build an archive one (last week) and it was working. Maybe this is due to flutter upgrade ?

$ flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.11.3, on Mac OS X 10.14.1 18B75, locale 
en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK  
28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.2)
[✓] VS Code (version 1.29.1)

回答1:


That's an issue that was fixed very recently and the fix should already be available in the master channel.

flutter channel master
flutter doctor

You can also try dev channel, but I'm not sure if it landed there already.
The fix will of course be included in the next beta channel, but a beta release just came out last week, so it will probably take a while to the next.

See also https://github.com/flutter/flutter/issues/24139



来源:https://stackoverflow.com/questions/53364394/flutter-stuck-on-building-dart-code-after-doing-flutter-build-ios

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!