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.

Error. <React/RCTConvert.h> is Not found. in RCTConvert+FFFastImage.h.

See original GitHub issue

In 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

2018-01-08 9 55 43

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:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
optimatexcommented, Aug 20, 2019

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?

1reaction
OceanHorncommented, Jan 11, 2018
Read more comments on GitHub >

github_iconTop 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 >

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