【发布时间】:2020-04-22 05:53:58
【问题描述】:
【问题讨论】:
标签: ios react-native cocoapods
【问题讨论】:
标签: ios react-native cocoapods
您遇到了问题,因为软件包没有正确安装,所以请按照以下步骤操作。 对于 react-native >= 0.60 ReactNativeART 应该是自动链接的,不需要额外的操作。但是对于 react-native
react-native 链接 @react-native-community/art 如果仍然无法正常工作,您可以手动完成, ![ Open project.xcodeproj in Xcode Drag RNCSlider.xcodeproj to your project on Xcode (usually under the Libraries group on Xcode ):]1 然后 ![ Link libART.a binary with libraries Click on your main project file (the one that represents the .xcodeproj) select Build Phases and drag the static library from the Products folder inside the Library you are importing to Link Binary With Libraries (or use the + sign and choose library from the list ):]2
就是这样,希望对你有帮助
【讨论】: