maxim-kolesnikov / react-native-heic-converter

Convert your HEIC files with React Native
MIT License
68 stars 23 forks source link

'React/RCTDefines.h' file not found #12

Closed Psiiirus closed 4 years ago

Psiiirus commented 4 years ago

Hiya, i just updated a project from 59 to 61 and it breaks with this message:

'React/RCTDefines.h' file not found

In file included from /Users/tonigurski/_Entwicklung/react-native/snazz/node_modules/react-native-heic-converter/ios/RNHeicConverter.m:2:
In file included from /Users/tonigurski/_Entwicklung/react-native/snazz/node_modules/react-native-heic-converter/ios/RNHeicConverter.h:3:
../../react-native/React/Base/RCTBridgeModule.h:10:9: fatal error: 'React/RCTDefines.h' file not found
#import <React/RCTDefines.h>
        ^~~~~~~~~~~~~~~~~~~~
1 error generated.

Any idea how to fix this?!

Cheers!

Psiiirus commented 4 years ago

FYI: tried auto pod recognition and extending the Podfile on my own.

Psiiirus commented 4 years ago

After removing the react-native-heic-converter lib out of the Libraries folder it seems to compile fine.