getsentry / sentry-dotnet

Sentry SDK for .NET
https://docs.sentry.io/platforms/dotnet
MIT License
604 stars 206 forks source link

Fix iOS device tests when running on Arm64 host machines #3710

Closed jamescrosswell closed 1 month ago

jamescrosswell commented 1 month ago

Tweaked the device tests so that these always use x64 when running on iOS (even if the host machine is running Arm64). This is necessary because the Arm64 runtime doesn't support JIT, which is required by the Castle DynamicProxy used under the hood by any of our tests that leverage NSubstitute. When running against the Arm64 runtime, all of those tests would fail.

See this discord conversation for details.

skip-changelog