Jon*_*ter 2 import ios cocoapods firebase swift
通过在我的 中导入 Firebase 框架,我总是收到以下警告AppDelegate.swift:
import Firebase -> File 'AppDelegate.swift' is part of module 'Firebase'; ignoring import
Run Code Online (Sandbox Code Playgroud)
以及以下错误didFinishLaunchingWithOptions::
FIRApp.configure() -> Use of unresolved identifier 'FIRApp'
Run Code Online (Sandbox Code Playgroud)
我使用 CocoaPods 导入了 Firebase 框架。那是我的 Podfile:
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
target 'Firebase' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for Firebase
pod 'Firebase'
pod 'Firebase/Messaging'
end
Run Code Online (Sandbox Code Playgroud)
知道我做错了什么吗?
| 归档时间: |
|
| 查看次数: |
1049 次 |
| 最近记录: |