File tree 3 files changed +4
-13
lines changed
3 files changed +4
-13
lines changed Original file line number Diff line number Diff line change 20
20
<ProjectReference Include =" ..\..\src\Sentry\Sentry.csproj" />
21
21
</ItemGroup >
22
22
23
- <!--
24
- Use the arm64 runtime when building on arm64 Macs.
25
- See https://github.com/xamarin/xamarin-macios/issues/17841
26
- -->
27
- <PropertyGroup >
28
- <OSArchitecture >$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)</OSArchitecture >
29
- <!-- Switch to this when running on an actual device -->
30
- <!-- <RuntimeIdentifier Condition="'$(OSArchitecture)' == 'Arm64'">ios-arm64</RuntimeIdentifier>-->
31
- <RuntimeIdentifier Condition =" '$(OSArchitecture)' == 'Arm64' And ('$(_iOSRuntimeIdentifier)' == 'iossimulator-x64' Or ('$(_iOSRuntimeIdentifier)' == '' And '$(RuntimeIdentifier)' == ''))" >iossimulator-arm64</RuntimeIdentifier >
32
- </PropertyGroup >
33
-
34
23
<!--
35
24
To run on a device, you need to set the CodesignEntitlements property.
36
25
-->
Original file line number Diff line number Diff line change 59
59
<TargetPlatformIdentifier >$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</TargetPlatformIdentifier >
60
60
61
61
<RuntimeIdentifier Condition =" '$(TargetPlatformIdentifier)' == 'android' And '$(OSArchitecture)' == 'Arm64'" >android-arm64</RuntimeIdentifier >
62
- <RuntimeIdentifier Condition =" '$(TargetPlatformIdentifier)' == 'ios' And '$(OSArchitecture)' == 'Arm64'" >iossimulator-arm64</RuntimeIdentifier >
62
+ <RuntimeIdentifier Condition =" '$(TargetPlatformIdentifier)' == 'ios' And '$(_IsPublishing)' == 'true'" >ios-arm64</RuntimeIdentifier >
63
+ <RuntimeIdentifier Condition =" '$(TargetPlatformIdentifier)' == 'ios' And '$(OSArchitecture)' == 'Arm64' And '$(_IsPublishing)' != 'true'" >iossimulator-arm64</RuntimeIdentifier >
63
64
<RuntimeIdentifier Condition =" '$(TargetPlatformIdentifier)' == 'maccatalyst' And '$(OSArchitecture)' == 'Arm64'" >maccatalyst-arm64</RuntimeIdentifier >
64
65
65
66
<RuntimeIdentifier Condition =" '$(TargetPlatformIdentifier)' == 'android' And '$(OSArchitecture)' == 'x64'" >android-x64</RuntimeIdentifier >
66
- <RuntimeIdentifier Condition =" '$(TargetPlatformIdentifier)' == 'ios' And '$(OSArchitecture)' == 'x64'" >iossimulator-x64</RuntimeIdentifier >
67
+ <RuntimeIdentifier Condition =" '$(TargetPlatformIdentifier)' == 'ios' And '$(OSArchitecture)' == 'x64' And '$(_IsPublishing)' != 'true' " >iossimulator-x64</RuntimeIdentifier >
67
68
<RuntimeIdentifier Condition =" '$(TargetPlatformIdentifier)' == 'maccatalyst' And '$(OSArchitecture)' == 'x64'" >maccatalyst-x64</RuntimeIdentifier >
68
69
</PropertyGroup >
69
70
Original file line number Diff line number Diff line change 1
1
using Sentry . Extensibility ;
2
2
using Sentry . Internal . Extensions ;
3
+ using Sentry . Protocol ;
3
4
4
5
namespace Sentry . iOS ;
5
6
You can’t perform that action at this time.
0 commit comments