Jason Hu 194439fdfb Integrating GoogleDataTransport in Crashlytics to Report Crashes (#4989) 6 年 前
..
Crashlytics 194439fdfb Integrating GoogleDataTransport in Crashlytics to Report Crashes (#4989) 6 年 前
ProtoSupport 194439fdfb Integrating GoogleDataTransport in Crashlytics to Report Crashes (#4989) 6 年 前
Protogen 194439fdfb Integrating GoogleDataTransport in Crashlytics to Report Crashes (#4989) 6 年 前
Shared d4b0109f24 Crashlytics move Update call from api. to update. (#4953) 6 年 前
UnitTests 194439fdfb Integrating GoogleDataTransport in Crashlytics to Report Crashes (#4989) 6 年 前
third_party 3dc11858ff Open Sourcing FirebaseCrashlytics (#4610) 6 年 前
CHANGELOG.md 180f9e5ecc Crashlytics Update CHANGELOG.md for v4.0.0-beta.5 (#5004) 6 年 前
LICENSE 41b46131a1 Crashlytics update LICENSE file for libunwind (#4657) 6 年 前
README.md 194439fdfb Integrating GoogleDataTransport in Crashlytics to Report Crashes (#4989) 6 年 前
generate_project.sh 194439fdfb Integrating GoogleDataTransport in Crashlytics to Report Crashes (#4989) 6 年 前
run 3dc11858ff Open Sourcing FirebaseCrashlytics (#4610) 6 年 前
upload-symbols 8d911eb6ab Upload Symbols 3.1 (#4988) 6 年 前

README.md

Firebase Crashlytics SDK

Development

Follow the subsequent instructions to develop, debug, unit test, and integration test FirebaseCrashlytics:

Prereqs

To Develop

  • Run pod gen FirebaseCrashlytics.podspec
  • open gen/FirebaseCrashlytics/FirebaseCrashlytics.xcworkspace

OR these two commands can be combined with

  • pod gen FirebaseCrashlytics.podspec --auto-open --gen-directory="gen" --clean

You're now in an Xcode workspace generate for building, debugging and testing the FirebaseCrashlytics CocoaPod.

Updating crash report proto

If the crash report proto needs to be updated, follow these instructions -

  • Prerequisite installations:
    • gem (update|install) cocoapods cocoapods-generate
    • brew install protobuf nanopb-generator
    • easy_install protobuf python
  • Update ProtoSupport/Protos/crashlytics.proto with the new changes
  • Depending on the type of fields added/removed, also update ProtoSupport/Protos/crashlytics.options. CALLBACK type fields in crashlytics.nanopb.c needs to be changed to POINTER (through the options file). Known field types that require an entry in crashlytics.options are strings, repeated and bytes.
  • Run generate_project.sh to update the nanopb .c/.h files.

Running Unit Tests

Open the generated workspace, choose the FirebaseCrashlytics-Unit-unit scheme and press Command-u.