react-native-webp-support icon indicating copy to clipboard operation
react-native-webp-support copied to clipboard

'React/RCTBridge.h' file not found

Open guoliangmaa opened this issue 5 years ago • 6 comments
trafficstars

Hi,I use RN61 , running in webstorm,I met this problem :

In file included from /Users/mgl/Documents/ReactNativeProjects/HGBC/node_modules/react-native-webp-support/DBAWebpImageDecoder.m:1: In file included from /Users/mgl/Documents/ReactNativeProjects/HGBC/node_modules/react-native-webp-support/DBAWebpImageDecoder.h:1:

../../node_modules/react-native/React/CoreModules/RCTImageLoader.h:10:9: fatal error: 'React/RCTBridge.h' file not found #import <React/RCTBridge.h>

guoliangmaa avatar Feb 03 '20 04:02 guoliangmaa

I am upgrading app 0.59.9 to 0.61.5 and getting same error, could you find any solution? @ysuMgl

sburaksak avatar Feb 03 '20 15:02 sburaksak

I am upgrading app 0.59.9 to 0.61.5 and getting same error, could you find any solution? @ysuMgl

I have not solved yet. You mean using 0.59.9 is ok?

guoliangmaa avatar Feb 05 '20 01:02 guoliangmaa

I'm using 0.61.5, and the same error

inkloop avatar Feb 05 '20 12:02 inkloop

Getting the same issue on 0.60.4. The library isn't maintained now I guess, so there isn't any pods support and Pod install fails when you make the changes.

ghost avatar Feb 20 '20 12:02 ghost

Getting the same issue on 0.60.4. The library isn't maintained now I guess, so there isn't any pods support and Pod install fails when you make the changes.

I give up,and now I transform to png format.

guoliangmaa avatar Feb 21 '20 05:02 guoliangmaa

@ysuMgl @Aarshi-Kredx @danielcolgan @sburaksak I've published a new WebP integration library. It supports the latest React Native version, auto-linking and better native libraries for performance boost. Please check it out https://github.com/Aleksefo/react-native-webp-format

Aleksefo avatar Mar 01 '20 13:03 Aleksefo