Error. <React/RCTConvert.h> is Not found. in RCTConvert+FFFastImage.h.
See original GitHub issueIn RCTConvert+FFFastImage.h
#import <React/RCTConvert.h>
@class FFFastImageSource;
@interface RCTConvert (FFFastImage)
+ (FFFastImageSource *)FFFastImageSource:(id)json;
@end
I had get error in this code.
<React/RCTConvert.h> is Not found
Before I add FastImage, No error.
And I tried this. https://stackoverflow.com/questions/41477241/react-native-xcode-upgrade-and-now-rctconvert-h-not-found
But it’s not working.
And it’s same in Android. This is error in Android.
Error:Cannot choose between the following configurations of project :react-native-fast-image:
- debugApiElements
- debugRuntimeElements
- releaseApiElements
- releaseRuntimeElements
All of them match the consumer attributes:
- Configuration 'debugApiElements':
- Found com.android.build.api.attributes.BuildTypeAttr 'debug' but wasn't required.
- Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
- Found com.android.build.gradle.internal.dependency.VariantAttr 'debug' but wasn't required.
- Found org.gradle.api.attributes.Usage 'java-api' but wasn't required.
- Configuration 'debugRuntimeElements':
- Found com.android.build.api.attributes.BuildTypeAttr 'debug' but wasn't required.
- Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
- Found com.android.build.gradle.internal.dependency.VariantAttr 'debug' but wasn't required.
- Found org.gradle.api.attributes.Usage 'java-runtime' but wasn't required.
- Configuration 'releaseApiElements':
- Found com.android.build.api.attributes.BuildTypeAttr 'release' but wasn't required.
- Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
- Found com.android.build.gradle.internal.dependency.VariantAttr 'release' but wasn't required.
- Found org.gradle.api.attributes.Usage 'java-api' but wasn't required.
- Configuration 'releaseRuntimeElements':
- Found com.android.build.api.attributes.BuildTypeAttr 'release' but wasn't required.
- Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
- Found com.android.build.gradle.internal.dependency.VariantAttr 'release' but wasn't required.
- Found org.gradle.api.attributes.Usage 'java-runtime' but wasn't required.
I can’t close this issue for 2days. Please help me…
*) I checked react-native link
My Spec.
{
"main": "node_modules/expo/AppEntry.js",
"private": true,
"scripts": {
"test": "node ./node_modules/jest/bin/jest.js --watch"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"@expo/samples": "2.1.1",
"expo": "^24.0.0",
"react": "16.0.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-24.0.0.tar.gz",
"react-native-fast-image": "^2.0.1",
"react-native-masonry": "^0.4.5",
"react-native-scalable-image": "^0.2.2",
"react-navigation": "^1.0.0-beta.21"
},
"devDependencies": {
"jest-expo": "^24.0.0"
}
Xcode version. 9.2 Android studio. 3.0.1
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
RCTConvert.h file not found in React-Native - Stack Overflow
But when I build in iOS and Android, I've got an error. iOS Error in RCTConvert+FFFastImage.h. RCTConvert.h' file not found. Android Error.
Read more >'React/Core/RCTConvert.h' file not found - Bountysource
After migration to the RN version 0.60.5 i was trying to follow the main installation guide but first got an error that RNFastImage...
Read more >React Native / Xcode Upgrade and now RCTConvert.h not found
0 via react-native-git-upgrade I get a number of lexical/preprocessor issues when trying to build/run the app in XCode. React/RCTBridgeModule.h' file not found.
Read more >undefined symbol _rctregistermodule react native - You.com | The ...
I'm using xcode 13, React-native version 0.64.2. Its working fine in Android but iOS I getting error. It builds with the following error:....
Read more >3rd Aug 2019 — react-native-permission & RCTConvert.h | by ...
Issue :“React/RCTConvert.h' file not found” error in archiving iOS. This is because the new version of React changed the path.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m using the version of RN 0.60.5 and “react-native-fast-image”: “^7.0.2”, but got this error ‘React/Core/RCTConvert.h’ file not found
Any solution?
PR#111 https://github.com/DylanVann/react-native-fast-image/pull/111 will solve.