Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error at ImageCompressor.swift file - Cannot find 'RCTResizeMode' in scope #256

Open
danielekpa opened this issue Dec 13, 2023 · 2 comments

Comments

@danielekpa
Copy link

Hi! 馃憢

Firstly, thanks for your work on this project! 馃檪

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-compressor/ios/Compressor-Bridging-Header.h b/node_modules/react-native-compressor/ios/Compressor-Bridging-Header.h
index b85cffd..a2bbf7a 100644
--- a/node_modules/react-native-compressor/ios/Compressor-Bridging-Header.h
+++ b/node_modules/react-native-compressor/ios/Compressor-Bridging-Header.h
@@ -2,5 +2,6 @@
 //  Use this file to import your target's public headers that you would like to expose to Swift.
 //
 #import <React/RCTBridgeModule.h>
+#import <React/RCTResizeMode.h>
 #import <React/RCTEventEmitter.h>
 #import <Foundation/Foundation.h>

This issue body was partially generated by patch-package.

Copy link

馃憢 @danielekpa
Thanks for opening your issue here! If you find this package useful hit the star馃専!

@guruatdigni
Copy link

Please marge this fixes. I have installed the latest module but it is still happenig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants