进行Flutter构建ios后,Flutter停留在Building Dart代码上

时间:2018-11-18 18:55:35

标签: ios dart flutter

我正在尝试通过执行flutter build ios来建立档案,但是在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...     

我已经建立了一个存档(上周),并且可以正常工作。也许这是由于升级所引起的?

$ 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 个答案:

答案 0 :(得分:3)

这是一个最近解决的问题,该修复程序应该已经在Enter number 1 Enter number 2 Enter number 3 Enter number 4 Enter number 5 Enter number 6 1 3 5 2 4 6 频道中提供了。

master

您也可以尝试使用flutter channel master flutter doctor 频道,但不确定是否已经登陆该频道。
该修复程序当然会包含在下一个dev频道中,但是上周才发布了beta版,因此下一个版本可能要花一些时间。

另请参阅https://github.com/flutter/flutter/issues/24139