Ios 它一发射就坠毁了

Ios 它一发射就坠毁了,ios,flutter,Ios,Flutter,我已经检查了这些: 但是没有人能解决我的问题 这是我的颤振医生-v Flutter 0.11.12 • channel dev • https://github.com/flutter/flutter.git Framework • revision 06ec8d3b41 (34 hours ago) • 2018-11-29 19:20:18 -0500 Engine • revision 7375a0f414 Tools • Dart 2.1.0 (build 2.1.0-dev.9.4

我已经检查了这些:

但是没有人能解决我的问题

这是我的颤振医生-v

Flutter 0.11.12 • channel dev • https://github.com/flutter/flutter.git
Framework • revision 06ec8d3b41 (34 hours ago) • 2018-11-29 19:20:18 -0500
Engine • revision 7375a0f414
Tools • Dart 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

Running "flutter packages upgrade" in renalbase...          22.1s

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.11.13, on Mac OS X 10.14.1 18B75, locale en-SG)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Android Studio (version 2.3)
    ✗ Flutter plugin version 12.1 - the recommended minimum version is 16.0.0
[✓] VS Code (version 1.29.1)
[✓] Connected device (2 available)

• No issues found!
我可以创建有错误的应用程序,但当IOS应用程序启动时,它崩溃了;Sim卡和实际设备。安卓系统还可以

以下是调试控制台输出:

Launching lib/main.dart on iPhone 5s in debug mode...
Xcode build done.                                           38.6s
*** First throw call stack:
(
0   CoreFoundation                      0x0000000113dcf1e6 __exceptionPreprocess + 294
1   libobjc.A.dylib                     0x000000011346c031 objc_exception_throw + 48
2   Runner                              0x0000000107b842ae +[FIRAnalytics logEventWithName:parameters:] + 0
3   libobjc.A.dylib                     0x000000011346cb04 CALLING_SOME_+initialize_METHOD + 19
4   libobjc.A.dylib                     0x000000011346ce9e _class_initialize + 276
5   libobjc.A.dylib                     0x0000000113473824 lookUpImpOrForward + 226
6   libobjc.A.dylib                     0x0000000113483414 _objc_msgSend_uncached + 68
7   Runner                              0x0000000107bdc3d1 -[FIRApp configureCore] + 705
8   Runner                              0x0<…>
好的,我让它工作了。 资料来自:

我将播客文件顶部的几行更改为:

# Uncomment this line to define a global platform for your project
platform :ios, '9.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

pod 'Firebase/Core'
pod 'FBSDKLoginKit' #optional
#GoogleAnalytics + GoogleAppMeasurement crashed due to version mismatch
pod 'GoogleAppMeasurement', '~> 5.2.0'

您是否正确配置了Firebase?Firebase上有一个指南,其中有针对颤振配置的分步说明-为了方便起见,MrPool提到的链接:
# Uncomment this line to define a global platform for your project
platform :ios, '9.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

pod 'Firebase/Core'
pod 'FBSDKLoginKit' #optional
#GoogleAnalytics + GoogleAppMeasurement crashed due to version mismatch
pod 'GoogleAppMeasurement', '~> 5.2.0'