我總是在導入火力地堡框架得到以下警告我AppDelegate.swift
:iOS的火力地堡進口警告和錯誤
import Firebase -> File 'AppDelegate.swift' is part of module 'Firebase'; ignoring import
而且在didFinishLaunchingWithOptions:
以下錯誤:
FIRApp.configure() -> Use of unresolved identifier 'FIRApp'
我進口Firebase框架與CocoaPods。 這是我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
任何想法,我做錯了嗎?
同樣的問題here.Did你找到任何解決辦法? –
@AliHayder還沒有。 –