I am running my React Native app in the iOS Simulator, and I am trying to use BVLinearGradient
. I followed all of the instructions in the GitHub ReadMe, but I am receiving an error related to BVLinearGradient
.
In the developer console, I am seeing:
Warning: Native component for "BVLinearGradient" does not exist
When I run directly from XCode, I see:
'React/RCTViewManager.h' file not found` (in BVLinearGradientManager.h)
'React/RCTView.h' file not found` (in BVLinearGradient.h)
What is happening here? Thank you.
I had the exact same issue a few days ago. The problem is that React is not linked yet when building the app. Try this:
Go to Product => Scheme => Manage Schemes... => Click on your app Scheme (usually the first one on the list) and click Edit => Go to the Build tab => Uncheck Parallelize Build
Then Click on the + sign to add a target => Search for React, select the first target called React and click on Add
Then select React in the targets list and drag it up to be first in that list.
Then go to Product => Clean and build your project again.
That should help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With