Issue #585

New Firebase Crashlytics

Follow the new Firebase Crashlytics guide Get started with Firebase Crashlytics using the Firebase Crashlytics SDK

CocoaPods

Specify FirebaseCore for community managed macOS version of Firebase

platform :osx, '10.13'

target 'MyMacApp' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
  
  pod 'FirebaseCore'
  pod 'Firebase/Crashlytics'

end

Signing and capabilities

Under Hardware runtime, check Disable library validation Under App sandbox, enable Outgoing connections (Client)

Run script

Add a new run script build phrase to the last

"${PODS_ROOT}/FirebaseCrashlytics/run"
```

In that  build phase, under Input Files, specify dsym and info plist file for dsym to be recognized

```
$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)
${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}
```

## AppDelegate

```swift
import FirebaseCore
import FirebaseCrashlytics

FirebaseApp.configure()
```