Skip to content

Conversation

jpnurmi
Copy link
Collaborator

@jpnurmi jpnurmi commented Sep 22, 2025

Motivation

  1. Local development: To make it easier to develop locally against an unreleased version of the Sentry Cocoa SDK without reverting d179ec9 as done in WIP: Prevent Cocoa SDK from capturing errors that also get captured by .NET #4537
  2. Integration testing: To be able to implement an integration test for [WIP] fix: interop with managed Mono/CoreCLR runtimes sentry-cocoa#6193, Sentry .NET would need to be able to run against an unreleased version of the Sentry Cocoa SDK
  3. C# binding updates: To allow easier experimenting with C# bindings ahead of time for unreleased Sentry Cocoa SDK versions. Due to the ongoing efforts to convert Obj-C types to Swift, it would be nice to be able to test the impact on the C# bindings.

Instructions

To switch to local development mode, replace the pre-built Sentry Cocoa SDK in modules/sentry-cocoa with a clone of getsentry/sentry-cocoa:

$ rm -rf modules/sentry-cocoa
$ gh repo clone getsentry/sentry-cocoa modules/sentry-cocoa
$ dotnet build ...

To switch back to a pre-built Sentry Cocoa SDK, delete the modules/sentry-cocoa clone and let Sentry.Bindings.Cocoa.csproj download the version declared in modules/sentry-cocoa.properties:

$ rm -rf modules/sentry-cocoa
$ dotnet build ...

#skip-changelog (for internal development purposes only)

Copy link

codecov bot commented Sep 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.33%. Comparing base (58b5da0) to head (0d4e77f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4551      +/-   ##
==========================================
- Coverage   73.37%   73.33%   -0.04%     
==========================================
  Files         479      479              
  Lines       17505    17505              
  Branches     3445     3445              
==========================================
- Hits        12844    12837       -7     
- Misses       3783     3787       +4     
- Partials      878      881       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant