Open Calvin92 opened 7 years ago
1、 TARGETS-Build Setting - Framework Search Paths 里面添加
$(SRCROOT)/../node_modules/react-native-baidu-map/ios/lib
2、 TARGETS-Build Setting - Header Search Paths 里面添加
$(SRCROOT)/../node_modules/react-native-baidu-map/ios/lib
$(SRCROOT)/../node_modules/react-native-baidu-map/ios/RCTBaiduMap
如没有添加react-native引用,则还需添加:
$(SRCROOT)/../node_modules/react-native/react
如添加的BaiduMapAPI_*.framework放在了Frameworks文件夹中,则还需添加:
$(inherited)
3、TARGETS-Build Setting - Library Search Paths 里面添加
$(SRCROOT)/../node_modules/react-native-baidu-map/ios/lib
另附图:
非常有帮助
非常有帮助
RT