From 970db8553f3f72009beba3904d3f1eb0f97de261 Mon Sep 17 00:00:00 2001 From: "Leonardo E. Dominguez" Date: Mon, 27 May 2024 05:03:01 -0400 Subject: [PATCH] fix: Fix header not found when using use_frameworks! (#191) --- ios/BlurhashModule.mm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ios/BlurhashModule.mm b/ios/BlurhashModule.mm index 0069675..52b306f 100644 --- a/ios/BlurhashModule.mm +++ b/ios/BlurhashModule.mm @@ -6,7 +6,11 @@ #import #endif +#if __has_include("react_native_blurhash/react_native_blurhash-Swift.h") +#import "react_native_blurhash/react_native_blurhash-Swift.h" +#else #import "react_native_blurhash-Swift.h" +#endif #ifdef RCT_NEW_ARCH_ENABLED using namespace facebook::react;