i have a strange error when i was using firebase from google.
when i trying to init the Fire base setup the ref address for it using this code here
My pod file looks like this :
platform :ios, ‘9.2’
use_frameworks!
target 'firebaseWithChris' do
pod 'Firebase'
pod 'Firebase/Database'
end
Xcode:in viewController.swift file in viewDidLoad method
instead of
var rootRef = Firebase(url:"https://.firebaseio.com")
try
var rootRef = FIRDatabase.database().reference()
This worked for me :]