diff options
author | trivias <trivias@yandex-team.ru> | 2022-05-20 12:06:38 +0300 |
---|---|---|
committer | trivias <trivias@yandex-team.ru> | 2022-05-20 12:06:38 +0300 |
commit | 22d1a9da7b0f0048b1cbe2261c41340626f2c616 (patch) | |
tree | 6dcdf0f0c0aeddd5f37aab8a63ac6b7e0076e6eb | |
parent | 7c5ef80ca50146b064998f5dc286dd01268bc928 (diff) | |
download | ydb-22d1a9da7b0f0048b1cbe2261c41340626f2c616.tar.gz |
Bump min apple platform versions for mapsmobi
https://developer.apple.com/documentation/security/2980705-sectrustevaluatewitherror?changes=_1&language=objc
ref:2a3a8edffbbe69f7f2d8dd71a92a12271ceac1e4
-rwxr-xr-x | build/ymake_conf.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build/ymake_conf.py b/build/ymake_conf.py index fd06591d8e..c188260465 100755 --- a/build/ymake_conf.py +++ b/build/ymake_conf.py @@ -1143,7 +1143,12 @@ class GnuToolchain(Toolchain): # https://developer.apple.com/documentation/metal/supporting_simulator_in_a_metal_app # Mapkit (MAPSMOBI_BUILD_TARGET) uses Metal Framework if preset('MAPSMOBI_BUILD_TARGET') and target.is_iossim and target.is_armv8: + macos_version_min = '10.14' ios_version_min = '13.0' + # Mapkit uses SecTrustEvaluateWithError function and these are min versions for it + elif preset('MAPSMOBI_BUILD_TARGET'): + macos_version_min = '10.14' + ios_version_min = '12.0' swift_target = select(default=None, selectors=[ (target.is_iossim and target.is_x86_64, 'x86_64-apple-ios{}-simulator'.format(ios_version_min)), |