I am totally new to Firebase and building iOS apps. In Xcode 7, I am trying to import Firebase into my Swift class. In a swift file, I have typed \"import Firebase\".
When using the CocoaPods installation method, you can start by removing the project workspace file:
rm -rf MyProject.xcworkspace
Then, edit the Podfile to following, which will be automatically set for the latest version of Firebase:
use_frameworks!
target 'MyProject' do
pod 'Firebase/Core'
pod 'Firebase/Database'
end
target 'MyProjectUITests' do
pod 'Firebase/Core'
pod 'Firebase/Database'
end
Finally, reinstall the pod
pod install