I have developed demo ios application where I need to integrate Firebase
, so I had followed the Raywenderlitch tutorials for how to integrate the Firebase SDKs
in iOS who written by @David East.
After I had installed the Firebase SDKs
via cocoapods
, when I try to command-click on the import
statement of Firebase
in AppDelegate.swift
(import Firebase) file, xcode
goes to the following view. For more information please find the below screenshot.
Please find the below Podfile :
platform :ios, '8.0'
use_frameworks!
target 'SampleApplication' do
pod 'IQKeyboardManager'
pod 'Koloda'
pod 'Firebase'
end
post_install do |installer|
`find Pods -regex 'Pods/pop.*\\.h' -print0 | xargs -0 sed -i '' 's/\\(<\\)pop\\/\\(.*\\)\\(>\\)/\\"\\2\\"/'`
end
Also I had also reviewed the issues on SO who answered by @David East, please find the below.
1) Cannot import Firebase in Swift app
2) Cannot Import Firebase Into Swift Class
But the solution is not worked in my case. Please help me what I'm doing wrong.
Thanks in advance.
Update
I had also tried to add the framework manually from firebase official website for Integrate without CocoaPods but it still get the issues. For more information please find the below screenshot.
I had upload my sample application source code on dropbox, if you want then please review it. Source Code Link : https://www.dropbox.com/s/5jr0zbnymhou94c/TestFireBase.zip?dl=0