【发布时间】:2021-04-18 12:00:29
【问题描述】:
我在 android 中做了一个应用程序,现在尝试在 ios 中运行它。我收到以下错误
Xcode build done. 35.2s
Configuring the default Firebase app...
Configured the default Firebase app __FIRAPP_DEFAULT.
6.34.0 - [Firebase/Core][I-COR000004] App with name __FIRAPP_DEFAULT does not exist.
6.34.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60900000 started
6.34.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see ....)
Waiting for iPhone 11 to report its views... 4ms
6.34.0 - [Firebase/Analytics][I-ACS025036] App Delegate Proxy is disabled
Lost connection to device.
Syncing files to device iPhone 11...
(This is taking an unexpectedly long time.)
我还有其他运行良好的 ios 应用程序。
运行flutter doctor 显示此
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.4, on macOS 11.0.1 20B50 darwin-x64, locale
en-GB)
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
! Some Android licenses not accepted. To resolve this, run: flutter doctor
--android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
[!] Android Studio (version 3.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)
! Doctor found issues in 2 categories.
编辑 = 移除火力基地
我删除了 firebase 的东西并收到这样的简单消息
Running pod install... 3.0s
Running Xcode build...
└─Compiling, linking and signing... 9.1s
Xcode build done. 35.8s
Waiting for iPhone 11 to report its views... 3ms
Lost connection to device.
Syncing files to device iPhone 11...
(This is taking an unexpectedly long time.) ⣻
知道可能出了什么问题吗?
谢谢。
【问题讨论】:
标签: flutter flutter-ios