From d82b79870c7c5386b71bdaf6c5f3a7d4e6e85ecc Mon Sep 17 00:00:00 2001 From: Ramanpreet Nara Date: Mon, 17 Sep 2018 12:17:30 -0700 Subject: [PATCH] Fix RNTester build Summary: WKWebViews aren't available on Apple TV. When I landed [the WKWebView stack](https://our.intern.facebook.com/intern/diff/D9362001/), I inadvertently broke the RNTester osTV build. This diff fixes it. Reviewed By: shergin Differential Revision: D9844322 fbshipit-source-id: 6de0fbfd13aba38cca7530c9fb486c7cde0afc82 --- React/Base/RCTConvert.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/React/Base/RCTConvert.h b/React/Base/RCTConvert.h index 6c7cb18dc..219a06a76 100644 --- a/React/Base/RCTConvert.h +++ b/React/Base/RCTConvert.h @@ -15,7 +15,9 @@ #import #import #import +#if TARGET_OS_IPHONE && WEBKIT_IOS_10_APIS_AVAILABLE #import +#endif /** * This class provides a collection of conversion functions for mapping