Unbreak iOS build due to header import failure

Summary: Changelog: [Internal]

Reviewed By: p-sun, yungsters

Differential Revision: D24749871

fbshipit-source-id: 70692b8a32f9b7a214d7192ba444c695568e2ccf
This commit is contained in:
Kevin Gozali
2020-11-04 21:39:18 -08:00
committed by Facebook GitHub Bot
parent 7324b92dc4
commit 8663ec4f42
2 changed files with 10 additions and 1 deletions
+5
View File
@@ -37,9 +37,14 @@
#import <jsireact/JSIExecutor.h>
#import <reactperflogger/BridgeNativeModulePerfLogger.h>
#ifndef RCT_USE_HERMES
#if __has_include(<hermes/hermes.h>)
#define RCT_USE_HERMES 1
#else
#define RCT_USE_HERMES 0
#endif
#endif
#if RCT_USE_HERMES
#import "HermesExecutorFactory.h"
#else
+5 -1
View File
@@ -7,9 +7,14 @@
#import "AppDelegate.h"
#ifndef RCT_USE_HERMES
#if __has_include(<hermes/hermes.h>)
#define RCT_USE_HERMES 1
#else
#define RCT_USE_HERMES 0
#endif
#endif
#if RCT_USE_HERMES
#import <React/HermesExecutorFactory.h>
#else
@@ -45,7 +50,6 @@
#import <react/config/ReactNativeConfig.h>
#endif
#if DEBUG
#ifdef FB_SONARKIT_ENABLED
#import <FlipperKit/FlipperClient.h>