React-native-fast-image: 'SDWebImage/UIImageView+WebCache.h' file not found

Created on 23 Aug 2017  路  3Comments  路  Source: DylanVann/react-native-fast-image

RN 0.46.4

node_modules/react-native-fast-image/ios/FastImage/FFFastImageView.h:3:9: fatal error: 'SDWebImage/UIImageView+WebCache.h' file not found
#import <SDWebImage/UIImageView+WebCache.h>
        ^
1 error generated.

Most helpful comment

@chrise86 Yes. Originally I want to modify the library to use with my RN 0.46.4 project (which cannot be upgraded to 0.47 due to certain old plugins).

But when I forked the repo. I realized that the SDWebImage IOS library cannot be downloaded because yarn does not install git submodules by default. You have to either install the dependencies by NPM, or re-publish the package yourself to NPM registry with a new name.

I published it with the name react-native-fast-image-legacy , so you can install it using yarn or npm:

yarn install react-native-fast-image-legacy

All 3 comments

@Doko-Demo-Doa did you manage to fix your issue?

@chrise86 Yes. Originally I want to modify the library to use with my RN 0.46.4 project (which cannot be upgraded to 0.47 due to certain old plugins).

But when I forked the repo. I realized that the SDWebImage IOS library cannot be downloaded because yarn does not install git submodules by default. You have to either install the dependencies by NPM, or re-publish the package yourself to NPM registry with a new name.

I published it with the name react-native-fast-image-legacy , so you can install it using yarn or npm:

yarn install react-native-fast-image-legacy

@Doko-Demo-Doa Glad you were able to resolve this, hopefully you can get those plugins updated one day.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mschipperheyn picture mschipperheyn  路  3Comments

kmilodenisglez picture kmilodenisglez  路  3Comments

baba43 picture baba43  路  3Comments

StiffFy picture StiffFy  路  3Comments

bhuvin25 picture bhuvin25  路  3Comments