How to Set up Firebase Crashlytics for macOS Apps

Set up the Firebase Project

Set up Crashlytics

platform :macos, '10.11'target 'YourTarget' do
use_frameworks!
pod 'Crashlytics'
pod 'FirebaseCore'
end

Uncaught Exceptions

func applicationDidFinishLaunching(_ notifcation: Notification) {

UserDefaults.standard.register(
defaults: ["NSApplicationCrashOnExceptions" : true]
)
FirebaseApp.configure()}
}

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mhd Hejazi

Mhd Hejazi

Mobile App Developer & UI/UX Designer.