chore: remove stale IL3050/IL3053 workaround from the iOS sample
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- csharp
- Domain
- build-system, mobile-dev
Research direction
Read samples/Sentry.Samples.Ios/Sentry.Samples.Ios.csproj and inspect the WarningsNotAsErrors setting; check whether the tvOS sample copied it from #6065. Remove the two warning suppression lines, then run dotnet publish samples/Sentry.Samples.Ios/Sentry.Samples.Ios.csproj -c Release -r ios-arm64. Done means the publish succeeds without IL3050 or IL3053 warnings; if #6065 merges first, remove the copied lines from the tvOS sample too.
Written by the indexing model from the issue text.
Description
samples/Sentry.Samples.Ios/Sentry.Samples.Ios.csproj still carries a workaround for a .NET 9 runtime bug that has since been fixed:
<!-- TODO: Remove once this issue has been addressed: https://github.com/dotnet/runtime/pull/109186 -->
<WarningsNotAsErrors>IL3050;IL3053</WarningsNotAsErrors>
It was added for #3808, where PublishAot failed on EnumConverterFactory warnings from System.Text.Json (dotnet/runtime#109177). The linked fix, dotnet/runtime#109186, merged on 2025-01-13 and shipped in 9.0.2. The sample now targets net11.0-ios, so it should have the fix.
Remove both lines, then publish the sample with NativeAOT for a device and check that no IL3050/IL3053 warnings appear:
dotnet publish samples/Sentry.Samples.Ios/Sentry.Samples.Ios.csproj -c Release -r ios-arm64
The tvOS sample added in #6065 copies the same two lines. Remove them there too if that PR merges first.
- Dominant language
- C#
- Stars
- 775
- Forks
- 262
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 118
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/sentry-dotnet
-
Heap dumps: every SDK shutdown logs "Error waiting for GarbageCollectionMonitor task to complete"Possibly taken @pcbeingused33 claimed this today. OpenState: Needs Discussion
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
getsentry/sentry-dotnet#6039 · 3 comments ·
Maintainers usually reply within 1 day
-
.NET Platform: Android Task
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
getsentry/sentry-dotnet#6020 · 3 comments ·
Maintainers usually reply within 1 day
-
Move the Blazor WebAssembly sample off the deprecated DevServerPossibly taken A pull request linked to this issue is open or already merged. Open.NET Framework: Blazor
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
getsentry/sentry-dotnet#5906 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Docs MSBuild Needs Docs Update
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getsentry/sentry-dotnet#5691 · 1 comment ·
Maintainers usually reply within 1 day
-
.NET Docs State: Needs Discussion
Difficulty 1/5 Under an hour Newbie friendliness 82/100
getsentry/sentry-dotnet#5637 · 1 comment ·
Maintainers usually reply within 1 day
All issues in getsentry/sentry-dotnet
Similar issues
-
:watch: Not Triaged dotnet-target-version
Difficulty 1/5 Under an hour Newbie friendliness 84/100
dotnet/docs-desktop#2313 ·
Maintainers usually reply within 4 days
-
dotnet-target-version
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
:watch: Not Triaged dotnet-target-version
Difficulty 1/5 Under an hour Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
IntelliTect/Coalesce#794 · 1 comment ·
-
Project dependencies are outdatedPossibly taken @yasmoradi claimed this today. Opendependencies
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
bitfoundation/bitplatform#15562 ·
Maintainers usually reply within 1 day