Skip to content

Commit

Permalink
fix: Fix header not found when using use_frameworks! (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
focux committed May 27, 2024
1 parent 516cf15 commit 970db85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ios/BlurhashModule.mm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
#import <blurhash_codegen/blurhash_codegen.h>
#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;
Expand Down

0 comments on commit 970db85

Please sign in to comment.