react-native init 项目,在运行中报错
打开Xcode项目,点击Libraries文件夹右键Add Files to "项目名"
Libraries文件夹
Add Files to "项目名"
把RCTAnimation.xcodeproj添加到Libraries
RCTAnimation.xcodeproj
Libraries
然后把libRCTAnimation.a文件拖拽到 Build Phases/Link Binary With Libraries下即可,重新运行项目就没有警告了
libRCTAnimation.a
Build Phases/Link Binary With Libraries