gpt4 book ai didi

ios - 火力地堡崩溃。 xcode 9.没有谷歌服务

转载 作者:搜寻专家 更新时间:2023-10-31 21:52:53 24 4
gpt4 key购买 nike

为什么错误提示 Could not locate configuration file: 'GoogleService-Info.plist' 但我的 Xcode 项目目录中有它,与我的包 ID 匹配?

错误:

2017-09-22 13:12:00.728562+0300 Descent Calculator 2.0[874:187526] [DYMTLInitPlatform] platform initialization successful
2017-09-22 13:12:00.938617+0300 Descent Calculator 2.0[874:187250] [Accessibility] ****************** Loading GAX Client Bundle ****************
2017-09-22 13:12:01.414789+0300 Descent Calculator 2.0[874:187538] [Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.
2017-09-22 13:12:01.415446+0300 Descent Calculator 2.0[874:187538] [Firebase/Core][I-COR000005] No app has been configured yet.
2017-09-22 13:12:01.499943+0300 Descent Calculator 2.0[874:187250] *** Terminating app due to uncaught exception 'com.firebase.core', reason: '`[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.

首先抛出调用栈:

(0x184713d38 0x183c28528 0x184713c80 0x1040e91b0 0x104086354 0x1040864ac 0x18db92050 0x18dd85898 0x18dd8a6e4 0x18e018454 0x18e2e81f0 0x18e0180b8 0x18e018928 0x18e7816e8 0x18e78158c 0x18e4fd9c0 0x18e692fc8 0x18e4fd870 0x18e2e7850 0x18dd88e28 0x18e18c6ec 0x186db5768 0x186dbe070 0x1056b545c 0x1056c1b74 0x186de9a04 0x186de96a8 0x186de9c44 0x1846bc358 0x1846bc2d8 0x1846bbb60 0x1846b9738 0x1845da2d8 0x18646bf84 0x18db86880 0x104087aec 0x1840fe56c)
libc++abi.dylib: terminating with uncaught exception of type NSException

此外,当我从 AppDelegate.swift 中删除 FirebaseApp.configure() 时,我的应用程序将不再崩溃。

最佳答案

我在 link 中找到了解决方案

第 1 步:点击 GoogleService-info.plist

第 2 步:在右侧面板中,进入目标成员资格。看看它是否检查过。

第 3 步:单击复选框,image

我已经使用 xcode 9 进行了测试。希望对您有所帮助..:)

关于ios - 火力地堡崩溃。 xcode 9.没有谷歌服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46362422/

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