From d54b286b9706ecbe5472e693362c1b91cc22b27d Mon Sep 17 00:00:00 2001 From: Peter Argany Date: Mon, 1 Feb 2021 16:32:00 -0800 Subject: [PATCH] Make rn_xplat_cxx_library and rn_apple_library target iOS 11 Summary: This forces individual RN libraries to target SDK 11+ Changelog: [iOS] Make rn_xplat_cxx_library and rn_apple_library target iOS 11 Reviewed By: shergin Differential Revision: D26179411 fbshipit-source-id: 898201943164ff8e53924eee5ca877103bf0f62a --- tools/build_defs/oss/rn_defs.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build_defs/oss/rn_defs.bzl b/tools/build_defs/oss/rn_defs.bzl index 23fb85c5eb1516..1bc1b984b2b8fd 100644 --- a/tools/build_defs/oss/rn_defs.bzl +++ b/tools/build_defs/oss/rn_defs.bzl @@ -163,7 +163,7 @@ def rn_android_prebuilt_aar(*args, **kwargs): def rn_apple_library(*args, **kwargs): kwargs.setdefault("link_whole", True) kwargs.setdefault("enable_exceptions", True) - kwargs.setdefault("target_sdk_version", "10.0") + kwargs.setdefault("target_sdk_version", "11.0") # Unsupported kwargs _ = kwargs.pop("autoglob", False)