gpt4 book ai didi

ios - 适用于iOS的Flutter应用在使用Firebase启动时崩溃

转载 作者:行者123 更新时间:2023-12-01 16:20:53 37 4
gpt4 key购买 nike

我已经进行了很长时间的研究,还没有找到解决我问题的方法。我正在使用Flutter构建适用于iOS的应用程序,并将该应用程序从Windows机器移至虚拟macOS。现在,当我尝试在Iphone模拟器(Iphone 11 pro Max)上浏览该应用程序时,该应用程序在启动时因以下错误而崩溃:

Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Running Xcode build...
Xcode build done. 190,5s
path: satisfied (Path is satisfied), interface: en0
Configuring the default Firebase app...
path: satisfied (Path is satisfied), interface: en0
Configured the default Firebase app __FIRAPP_DEFAULT.
path: satisfied (Path is satisfied), interface: en0
"currentDataServiceDescriptorChanged:",
"carrierBundleChange:",
"cellChanged:cell:",
"connectionStateChanged:connection:dataConnectionStatusInfo:",
"signalStrengthChanged:info:"
)
"currentDataServiceDescriptorChanged:",
"carrierBundleChange:",
"cellChanged:cell:",
"connectionStateChanged:connection:dataConnectionStatusInfo:",
"signalStrengthChanged:info:"
)
"currentDataServiceDescriptorChanged:",
"carrierBundleChange:",
"cellChanged:cell:",
"connectionStateChanged:connection:dataConnectionStatusInfo:",
"signalStrengthChanged:info:"
)
"currentDataServiceDescriptorChanged:",
"carrierBundleChange:",
"cellChanged:cell:",
"connectionStateChanged:connection:dataConnectionStatusInfo:",
"signalStrengthChanged:info:"
)
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23c70e49 -[NSException raise] + 9
3 Runner 0x000000010c8aadc6 GADApplicationVerifyPublisherInitializedAnalyticsCorrectly + 409
4 Runner 0x000000010c85dbc0 GADEnvironmentIsSupported + 4134
5 libdispatch.dylib 0x00007fff5223e848 _<…>

有谁知道是什么原因导致此错误?我已经在Xcode中的添加文件中添加了GoogleService-Info.plist ursinne,所以现在我不知道出了什么问题。希望任何人都能帮助我,不胜感激!

最佳答案

我创建了一个新项目,现在它可以工作了。

关于ios - 适用于iOS的Flutter应用在使用Firebase启动时崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60356249/

37 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com