swfit でFirebaseを使ってチャットアプリの作成をしています。Cocoapodsでライブラリをインストールした後FirebaseApp.configure()を実行するとFirebase Analytics is not available というエラーが出て来ました。Googleで検索したのですが解決方法は見つかりませんでした。何がいけないのでしょうか。
回答よろしくお願いします。
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { FirebaseApp.configure() window = UIWindow(frame: UIScreen.main.bounds) window?.makeKeyAndVisible() window?.rootViewController = UINavigationController(rootViewController: ViewController()) return true }
追記
因みにyoutubeでFirebase3でのチュートリアルを見て行いました
下記がPodfileです。
# Uncomment the next line to define a global platform for your project # platform :ios,'9.0' target 'gameofChats' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! # Pods for gameofChats pod 'Firebase/Database' pod 'Firebase/Auth' pod 'Firebase/Storage' end
あなたの回答
tips
プレビュー