1)根据此处的说明设置了Firebase应用:firebase.google.com/docs/ios/setup
2)GoogleService-Info.plist已按照说明
包含在我的应用目录中3)pod文件已正确安装,并正确安装了pod
3)导入Firebase包含在我的AppDelegate.swift文件中,如下所示:
import UIKit
import Firebase
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
let APP_ID = "AC51C6F9-D4AF-19F9-FF0E-3FF4363D1F00"
let SECRET_KEY = "82350646-04E6-65CD-FFE7-0B2CFAC49C00"
let VERSION_NUM = "v1"
var backendless = Backendless.sharedInstance()
var window: UIWindow?
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
backendless.initApp(APP_ID, secret:SECRET_KEY, version:VERSION_NUM)
FIRApp.configure()
return true
}
当我在AppDelegate文件中输入Firebase时,它不会自动填充!我可能做错了什么?
答案 0 :(得分:0)
这些东西通常会为我修复