gpt4 book ai didi

ios - 火力地堡配置

转载 作者:搜寻专家 更新时间:2023-10-31 23:09:42 30 4
gpt4 key购买 nike

我正在开发一个 iOS 应用程序,我的 pod 文件看起来像

platform :ios, '8.0'  
use_frameworks!

target 'MYAPP' do
pod 'Google-Mobile-Ads-SDK'
pod 'Google/SignIn'
pod 'Alamofire', '~> 4.0'
pod 'AlamofireImage', '~> 3.1'
end

target 'MYAPPTests' do
pod 'Google-Mobile-Ads-SDK'
pod 'Google/SignIn'
pod 'Alamofire', '~> 4.0'
pod 'AlamofireImage', '~> 3.1'
end

target 'MYAPPUITests' do
pod 'Google-Mobile-Ads-SDK'
pod 'Google/SignIn'
pod 'Alamofire', '~> 4.0'
pod 'AlamofireImage', '~> 3.1'
end

当我运行应用程序并在控制台中不断发现以下警告时:

[Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add [FIRApp configure] to your application initialization. Read more: ".

所以在我的 appdelegate 中,我添加了 FIRApp.configure() 导致崩溃

' [Firebase/Messaging][I-IID001000] Firebase is not set up correctly. Sender ID is nil or empty. 2017-06-14 18:25:37.044 MYAPP[10520:128089] *** Terminating app due to uncaught exception 'com.firebase.instanceid', reason: 'Could not configure Firebase InstanceID. Google Sender ID must not be nil or empty.''

GoogleModbileAdsSDK 是否需要 Firebase 配置?我在这里缺少什么?

最佳答案

看看这个 https://firebase.google.com/docs/ios/setup您需要将需要从数据库中使用的那些添加到 pod 文件中

关于ios - 火力地堡配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44560319/

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