-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Can't build iOS #188
Comments
Faced with same issue on bare React Native project |
Relates to #186 (comment). Reverting back to |
Faced same issue |
Same issue with bare rn project. (rn 0.72.6; podfile: use_frameworks! (because I use firebase)) |
Did anyone find a workaround that is not downgrading? For some reason, it works good on my machine but not on CI. |
I haven't been able to get anything above 1.1.11 to work. I thought it might work when new arch support was added in 2.0, but I prototyped upgrading my project to the new arch and it still didn't work. So long story short, unfortunately, I think the answer is no. |
By the way, I found the cause of the bug, looks like it was related to using dynamic/static frameworks ( I already opened a PR with the fix. |
Nice work! I am in fact using firebase. I can try to use |
Ya, that'd be great. It's working good for me. This is the patch: diff --git a/node_modules/react-native-blurhash/ios/BlurhashModule.mm b/node_modules/react-native-blurhash/ios/BlurhashModule.mm
index 0069675..560040d 100644
--- a/node_modules/react-native-blurhash/ios/BlurhashModule.mm
+++ b/node_modules/react-native-blurhash/ios/BlurhashModule.mm
@@ -6,7 +6,12 @@
#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; |
@focux I built with the patch applied and it worked for me. Do note, I don't have the new arch enabled, I'm just running bridgeless mode with |
Nice @focux |
Relates to: mrousavy#188
Bug
Get a Fastlane exception when creating a development build on EXPO - 'react_native_blurhash-Swift.h' file not found
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the build to succeed. Android build is successful.
The text was updated successfully, but these errors were encountered: