Files
UnrealEngineUWP/Engine/Source/Programs/UnrealBuildTool/Platform/IOS/IOSPlatformSDK.Versions.cs
joe kirchoff 57a8fe409c UnrealBuildTool: Use expression body for simple properties and accessors
#rnx
#preflight 64766abcfe6a3b258a04cb50

[CL 25691579 by joe kirchoff in ue5-main branch]
2023-05-30 18:01:50 -04:00

32 lines
935 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System;
using Microsoft.Extensions.Logging;
namespace UnrealBuildTool
{
internal class IOSPlatformSDK : ApplePlatformSDK
{
public IOSPlatformSDK(ILogger Logger)
: base(Logger)
{
}
protected override void GetValidSoftwareVersionRange(out string MinVersion, out string? MaxVersion)
{
// what is our min IOS version?
MinVersion = "15.0";
MaxVersion = null;
}
/// <summary>
/// The minimum Clang version that a static library can be built with
/// </summary>
public Version MinimumStaticLibClangVersion =>
// return new Version("1200.00.32.29"); // UE 5.0 (Xcode 12.4)
// return new Version("1300.00.29.30"); // (old) UE 5.1 sets Xcode13.2.1 as minimum supported
// return new Version("1316.0.21.2"); // UE 5.1 sets Xcode13.4 as minimum supported
new Version("1400.0.29.202"); // UE 5.2 sets Xcode14.1 as minimum supported
}
}