react-native-fs: Failed to build with RN 0.61 React/RCTImageLoader.h file not found
RNFSManager.m fatal error: React/RCTImageLoader.h file not found during IOS build
Looks like RCTImageLoader is removed from React Native Libraries. Anyone can suggest a permanent / temporary fix?
Same issue is observed for other libraries too. https://github.com/ivpusic/react-native-image-crop-picker/issues/692#issuecomment-529017012
I have tried adding RCTImage
to RNFS.podspec file manually but i could not succeed to prevent failure.
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 8
- Comments: 15 (2 by maintainers)
Commits related to this issue
- fixed import for issue https://github.com/itinance/react-native-fs/issues/768 https://github.com/itinance/react-native-fs/issues/768 — committed to pilot4u/react-native-fs by pilot4u 5 years ago
#import <React/RCTImageLoaderProtocol.h> => #import <React/RCTImageLoader.h>
[Resolved]
This worked for me
fresh project created with
it uses
react-native 0.61.2
I install latest
react-native-fs
Still fails to build