Skip to content

Commit 94e4aa7

Browse files
authored
[tests] Choose the right simulator RID on x64. (#24874)
1 parent 45549a4 commit 94e4aa7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/common/shared-dotnet.mk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,17 @@ endif
8888

8989
ifeq ($(RID),)
9090
ifeq ($(PLATFORM),iOS)
91+
ifeq ($(shell arch),arm64)
9192
RID=iossimulator-arm64
93+
else
94+
RID=iossimulator-x64
95+
endif
9296
else ifeq ($(PLATFORM),tvOS)
97+
ifeq ($(shell arch),arm64)
9398
RID=tvossimulator-arm64
99+
else
100+
RID=tvossimulator-x64
101+
endif
94102
else ifeq ($(PLATFORM),MacCatalyst)
95103
ifeq ($(CONFIG),Release)
96104
RID=maccatalyst-x64;maccatalyst-arm64

0 commit comments

Comments
 (0)