tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

Modern naming for IOS_DEPLOYMENT_TARGET #2405

Closed Kylmakalle closed 1 year ago

Kylmakalle commented 1 year ago

This fixes setting the minimum deployable version for tvOS simulator. These changes also utilize modern naming for the min-version parameter. I was able to test it successfully using a customized build.sh

$ otool -l lib/libtdjson_static.a | grep -A3 -B1 "VERSION_MIN"
Load command 1
      cmd LC_VERSION_MIN_IPHONEOS
  cmdsize 16
  version 11.0
      sdk 16.2

Ref: https://github.com/rust-lang/rust/issues/48862