Firebase-无法找到配置文件:"GoogleService-Info.plist" [英] Firebase- Could not locate configuration file: 'GoogleService-Info.plist'

查看:511
本文介绍了Firebase-无法找到配置文件:"GoogleService-Info.plist"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了它,并将其添加到我的Xcode项目中,我也确实在需要时复制了项目..我不明白为什么我仍然会收到此错误.我的应用程序委托中有FIRApp.configure().有什么提示吗?先感谢您.

I have downloaded it already and added it to my Xcode Project I did copy items if needed as well .. I do not understand why I am still getting this error. I have FIRApp.configure() in my app delegate... Any tips? Thank you in advance.

 func application(application: UIApplication,
                         didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?)
            -> Bool {
                UINavigationBar.appearance().tintColor = UIColor.greenColor()
                UIApplication.sharedApplication().statusBarStyle = .LightContent

                FIRApp.configure()
                return true
        }

推荐答案

  1. 添加到项目
  2. 点击它:

  1. 在Xcode的右侧栏中,标记Target Membership选项:

这篇关于Firebase-无法找到配置文件:"GoogleService-Info.plist"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆