我已将包react-native-fast-image添加到我的react项目中,该项目旨在通过更快的方式加快基于优先级加载图像的速度。另外,我手动链接了这里所述的库:https://github.com/DylanVann/react-native-fast-image/blob/master/docs/installation-manual.md
根据错误,我认为你没有对原生xCode进行设置。按照以下步骤链接到xCode。
In Xcode:
Add FastImage.xcodeproj to Libraries.
Add libFastImage.a to Link Binary With Libraries under Build Phases.
在进行设置之前不要忘记链接。
1)需要将node_modules-> react-native-fast-image-> ios-> FastImage.xcodeproj拖入Libraries文件夹下的xcode。
2)将libFastImage.a添加到Link Binary with Libraries部分。