# Uncomment this line if you're using Swift
use_frameworks!
Now, you can add the
import 'Firebase'
command to your project classes. Everything -should- compile and build properly now assuming you followed the instructions carefully. If you modified that Podfile with your XCode project, then close XCode down. Open up your terminal, run the pod install command. Then use the Open <your project>.xcworkspace command to re-open your project. It will work now.
Good luck.
I think its Xcode and the Swift compiler/analyzer that has the bugs. It happens daily where a simple Build will fix the problem.
Just to reiterate, use_frameworks! is definitely necessary, but that's not the only possible source of the error.
use_frameworks!
pod 'Firebase', '>= 2.5.0'
target 'MyAppName' do
end
target 'PitzTests' do
end
target 'PitzUITests' do
end