question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'React/RCTResizeMode.h' file not found

See original GitHub issue

I installed the plugin using this command yarn add DylanVann/react-native-fast-image.git because I need the feature from master branch.

However, I received the above error when building the iOS app. Does anyone know how to solve it?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:5

github_iconTop GitHub Comments

26reactions
jedashfordcommented, Jul 13, 2018

I had the same problem. The link doesn’t really work so you need to do the manual install. I did the cocoa pod instructions:

platform :ios, '9.0'

target 'ReactNativeFastImageCocoaPodsExample' do
  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'CxxBridge',
    'DevSupport',
    'RCTText',
    'RCTNetwork',
    'RCTWebSocket',
    'RCTImage',
  ]
  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

+  pod 'react-native-fast-image', :path => '../node_modules/react-native-fast-image'
end

Make sure to include 'RCTImage',

You’ll see here that RCTResizeMode is in React Image: https://github.com/facebook/react-native/blob/master/Libraries/Image/RCTResizeMode.m

The documentation should probably be updated to point this out.

15reactions
jeafgilbertcommented, Nov 3, 2020

Updating to #import <React-RCTImage/React/RCTResizeMode.h> works well for me. I did it through Xcode, but I think it’s also can be done through other editors, path: ios/pods/Headers/Private/RNFastImage/FFFastImageView.h & ios/pods/Headers/Public/RNFastImage/FFFastImageView.h

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

React/RCTResizeMode.h file not found (xCode 12 ... - GitHub
resolved by running pod repo update. now I have 'React/RCTResizeMode.h' file not found error when try do build in xCode 12
Read more >
`React/RCTBridgeModule.h` file not found - Stack Overflow
In my case this particular problem happened when I was trying to archive a 0.40+ react-native app for iOS (solution was found here:...
Read more >
React Native: How to fixed RCTBridgeModule.h file not found
React Native: How to fixed RCTBridgeModule. h file not found. 19K views 3 years ago. AppSolution. AppSolution. 127 subscribers. Subscribe.
Read more >
How to resolve fatal error: 'openssl/ssl.h' file not found issue ...
How to resolve fatal error: 'openssl/ssl. h ' file not found issue while install eventmachine gem on Mac.
Read more >
'process.h' file not found on Mac : r/C_Programming - Reddit
Hey guys! I've been getting an error that reads fatal error: 'process.h' file not found while compiling my code, on a mac.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found