Skip to content

Set up Firebase Crashlytics - #59

Open
zainbilalh wants to merge 1 commit into
cuappdev:mainfrom
zainbilalh:crashalytics
Open

Set up Firebase Crashlytics#59
zainbilalh wants to merge 1 commit into
cuappdev:mainfrom
zainbilalh:crashalytics

Conversation

@zainbilalh

@zainbilalh zainbilalh commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds the Crashlytics dSYM upload run script and official input files so stack traces can be symbolicated.
  • Sets Debug Information Format to dwarf-with-dsym and turns off User Script Sandboxing so upload-symbols can read GoogleService-Info.plist.

Firebase init and the Crashlytics/Analytics packages were already on main.

Crashlytics dashboard

image

How to test locally

  1. Add a temporary button:
    Button("Test Crash") {
        fatalError("Crashlytics Test Crash")
    }
  2. Build and run from Xcode, wait until the app is up, then press Stop. The debugger blocks Crashlytics if it stays attached.
  3. Open the app again and tap the button.
  4. Relaunch the app so Crashlytics can upload the report.
  5. Check the Crashlytics dashboard. Can take ~5 minutes.

lemme know if you have questions lol

Summary by CodeRabbit

  • New Features

    • Added automated Crashlytics reporting for iOS builds, improving crash diagnostics.
  • Configuration

    • Updated debug builds to generate symbol files for more readable crash reports.
    • Adjusted build script permissions to support Crashlytics report uploads.

@coderabbitai

coderabbitai Bot commented Sep 13, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 3b08ca75-1133-4a37-96ea-7478c1d32dc7

📥 Commits

Reviewing files that changed from the base of the PR and between fe23b97 and 7a5d487.

📒 Files selected for processing (1)
  • score-ios.xcodeproj/project.pbxproj

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The Xcode project adds a Crashlytics upload script to the score-ios target. Debug builds now generate dSYM files. Debug and Release builds disable user script sandboxing.

Changes

Crashlytics integration

Layer / File(s) Summary
Configure Crashlytics build phase
score-ios.xcodeproj/project.pbxproj
The target runs the Firebase Crashlytics script with required artifact and plist inputs. Debug builds use dwarf-with-dsym, and both Debug and Release configurations disable user script sandboxing.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Merge Risk: ⚪ Minimal · up to 7a5d4

The Crashlytics integration is configured for the supported Debug and Release builds, with no unresolved merge-blocking risk.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely describes the main change: adding Firebase Crashlytics setup to the iOS project.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@JiwonJeong414 JiwonJeong414 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants