Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

React Native: Unable to import React headers after updating to 0.60

$
0
0

After updating to React Native 0.60 the header linking does no longer work.

I'm having problems linking from the React library during build:

/Users/User/Developer/Project/node_modules/react-native-image-resizer/ios/RCTImageResizer/RCTImageResizer.m:12:9: fatal error: 'React/RCTImageLoader.h' file not found
#import <React/RCTImageLoader.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~

What changed in 0.60:

  • The file RCTImageLoader.h is now at /node_modules/react-native/React/CoreModules.
  • The file React.xcodeproj that contained these headers is no longer present

React Native folder


Viewing all articles
Browse latest Browse all 16552

Trending Articles