我正在我的阵营原生应用的iOS模拟器,我想使用BVLinearGradient。我遵循了github自述文件中的所有说明,但我收到与BVLinearGradient有关的错误。阵营原住民 - BVLinearGradient - “反应/ RCTViewManager.h”找不到文件
在开发者控制台,我看到:
警告:本机组件,用于 “BVLinearGradient” 不存在
当我直接从XCode的跑,我看到:
'React/RCTViewManager.h' file not found
(在BVLinearGradientManager。 1H) 'React/RCTView.h' file not found
(在BVLinearGradient.h)
这到底是怎么回事?谢谢。
如果您使用的是<0.40,请确保您使用[email protected] –
我使用的是> 0.40 – user1072337
您是否运行过“react-native link react-native-linear-gradient” – chris