Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Make.config
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,20 @@ MACCATALYST_SDK_VERSION=$(word 1, $(subst ., ,$(MACCATALYST_NUGET_VERSION))).$(w
MAX_IOS_DEPLOYMENT_TARGET=$(IOS_SDK_VERSION)
MAX_TVOS_DEPLOYMENT_TARGET=$(TVOS_SDK_VERSION)

# Decide which OS version we should run the simulator tests in.
# Note that this may not necessarily match the SDK version, if there are OS releases with no API changes, then there wouldn't necessarily be a corresponding SDK version.
# If the errors below trigger, update the hardcoded Xcode version check (currently 26.3) to use the current Xcode version, and assign the corresponding max simulator versions.
ifeq ($(XCODE_VERSION),26.3)
MAX_IOS_SIMULATOR_VERSION=26.3
MAX_TVOS_SIMULATOR_VERSION=26.2
else ifneq ($(XCODE_VERSION),$(IOS_SDK_VERSION))
$(error Check if a max iOS simulator is different than the current SDK version (this happens when there's a new iOS release, with no API changes so no new SDK))
else ifneq ($(XCODE_VERSION),$(TVOS_SDK_VERSION))
$(error Check if a max tvOS simulator is different than the current SDK version (this happens when there's a new tvOS release, with no API changes so no new SDK))
else
MAX_IOS_SIMULATOR_VERSION=$(IOS_SDK_VERSION)
MAX_TVOS_SIMULATOR_VERSION=$(TVOS_SDK_VERSION)
endif

# Minimum OS versions for running XI/XM apps.
MIN_IOS_SDK_VERSION=12.2
Expand Down
2 changes: 1 addition & 1 deletion tools/common/SdkVersions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static class SdkVersions {
public const string MiniOSSimulator = "16.0";
public const string MinTVOSSimulator = "16.0";

public const string MaxiOSSimulator = "26.2";
public const string MaxiOSSimulator = "26.3";
public const string MaxTVOSSimulator = "26.2";

public const string MaxiOSDeploymentTarget = "26.2";
Expand Down
Loading