Skip to content

Commit 6fa909e

Browse files
authored
Update comments to mention correct SDK versions (#220)
1 parent 05350f8 commit 6fa909e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ios.toolchain.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,10 @@ set(NAMED_LANGUAGE_SUPPORT_INT ${NAMED_LANGUAGE_SUPPORT} CACHE BOOL
265265
# Specify the minimum version of the deployment target.
266266
if(NOT DEFINED DEPLOYMENT_TARGET)
267267
if (PLATFORM MATCHES "WATCHOS")
268-
# Unless specified, SDK version 4.0 is used by default as minimum target version (watchOS).
268+
# Unless specified, SDK version 6.0 is used by default as minimum target version (watchOS).
269269
set(DEPLOYMENT_TARGET "6.0")
270270
elseif(PLATFORM STREQUAL "MAC")
271-
# Unless specified, SDK version 10.13 (High Sierra) is used by default as the minimum target version (macos).
271+
# Unless specified, SDK version 11.0 (Big Sur) is used by default as the minimum target version (macOS on x86).
272272
set(DEPLOYMENT_TARGET "11.0")
273273
elseif(PLATFORM STREQUAL "VISIONOS" OR PLATFORM STREQUAL "SIMULATOR_VISIONOS" OR PLATFORM STREQUAL "VISIONOSCOMBINED")
274274
# Unless specified, SDK version 1.0 is used by default as minimum target version (visionOS).
@@ -280,10 +280,10 @@ if(NOT DEFINED DEPLOYMENT_TARGET)
280280
# Unless specified, SDK version 11.0 (Big Sur) is used by default as minimum target version for universal builds.
281281
set(DEPLOYMENT_TARGET "11.0")
282282
elseif(PLATFORM STREQUAL "MAC_CATALYST" OR PLATFORM STREQUAL "MAC_CATALYST_ARM64" OR PLATFORM STREQUAL "MAC_CATALYST_UNIVERSAL")
283-
# Unless specified, SDK version 13.0 is used by default as the minimum target version (mac catalyst minimum requirement).
283+
# Unless specified, SDK version 13.1 is used by default as the minimum target version (mac catalyst minimum requirement).
284284
set(DEPLOYMENT_TARGET "13.1")
285285
else()
286-
# Unless specified, SDK version 11.0 is used by default as the minimum target version (iOS, tvOS).
286+
# Unless specified, SDK version 13.0 is used by default as the minimum target version (iOS, tvOS).
287287
set(DEPLOYMENT_TARGET "13.0")
288288
endif()
289289
message(STATUS "[DEFAULTS] Using the default min-version since DEPLOYMENT_TARGET not provided!")

0 commit comments

Comments
 (0)