Commit 502b6a2
ci: run iOS device tests on arm64
System.Reflection.Emit is blocked on arm64 simulators due to W^X — this is
what NSubstitute/Castle.DynamicProxy needs:
https://learn.microsoft.com/en-us/dotnet/maui/macios/interpreter
The Mono interpreter bypasses this by interpreting emitted IL instead of
generating native code. Sentry.Maui.Device.TestApp.csproj already has
<UseInterpreter>true</UseInterpreter> for Release, and the build already
passes EnableAot=false. So the two workarounds are redundant — either x64
via Rosetta OR the interpreter alone should suffice. Switching to
iossimulator-arm64 should work with the current build settings.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1753b23 commit 502b6a2
3 files changed
Lines changed: 6 additions & 8 deletions
File tree
- scripts
- test
- Sentry.Extensions.Logging.Tests
- Sentry.Maui.Device.TestApp
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments