diff --git a/React/CxxBridge/RCTCxxBridge.mm b/React/CxxBridge/RCTCxxBridge.mm index 5cb522237d7..f1daad54b40 100644 --- a/React/CxxBridge/RCTCxxBridge.mm +++ b/React/CxxBridge/RCTCxxBridge.mm @@ -915,7 +915,6 @@ struct RCTInstanceCallback : public InstanceCallback { [self enqueueApplicationScript:sourceCode url:self.bundleURL onComplete:completion]; } -#if RCT_DEV if (self.devSettings.isHotLoadingAvailable) { NSString *path = [self.bundleURL.path substringFromIndex:1]; // strip initial slash NSString *host = self.bundleURL.host; @@ -926,7 +925,6 @@ struct RCTInstanceCallback : public InstanceCallback { args:@[@"ios", path, host, RCTNullIfNil(port), @(isHotLoadingEnabled)] completion:NULL]; } -#endif } - (void)handleError:(NSError *)error