diff --git a/React/Views/RCTModalHostView.m b/React/Views/RCTModalHostView.m index 50f44697e92e20..6dbd6b658fc14b 100644 --- a/React/Views/RCTModalHostView.m +++ b/React/Views/RCTModalHostView.m @@ -18,7 +18,9 @@ #import "RCTUIManager.h" #import "RCTUtils.h" #import "UIView+React.h" +#if TARGET_OS_TV #import "RCTTVRemoteHandler.h" +#endif @implementation RCTModalHostView {