Closed Balasnest closed 6 years ago
@iyegoroff Any help in this matter would be greatly appreciated.
It works when I do react-native run-ios
. Through xcode, build is failed.
/Users/path/node_modules/react-native-text-gradient/ios/../../react-native/Libraries/Text/RCTShadowText.h:10:9: fatal error: 'React/RCTShadowView.h' file not found
import <React/RCTShadowView.h>
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Just checked rn 0.51.0 + rntg 0.0.3 on iOS - it compiles and runs without errors. Probably you didn't link the module properly or using a newer rntg version.
Getting build failed in iOS only
React/RCTShadowView.h file not found
Done
npm link
also. what would be the problem?react-native: 0.51.0 react-native-text-gradient: 0.0.3
Using the right target version: with rn >= 0.50.0 use 0.0.3.