FireBase error signal SIGABRT

Viewed 1307

I'm trying to use firebase in my app. I follow the steps online, with a new project.

when I try to write FirebaseApp.configure() in my appdelegate it gives me a Thread 1: signal SIGABRT if I delete it the app will run.

I do have my GoogleService-info.plist inside my project directory.

my podfile looke like this :

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'FireBaseTest' do
# Comment the next line if you're not using Swift and don't want to 
use dynamic frameworks
use_frameworks!

 # Pods for FireBaseTest
 pod 'Firebase/Core'
end
2 Answers

Make sure you set the target membership of the file.

  1. Select GoogleService-Info.plist in the Xcode project navigator.

enter image description here

  1. Enable the target in the right utilities pane.

enter image description here

I was stuck in the same issue for 4 days I downloaded firebase the issue was I name google play list as * GoogleService-Info-22.plist*. just remember don't put dashes rename it as GoogleService-Info.plist

Related