我得到了这个react原生项目,并且我必须在Podfile上使用use_modular_headers!。我想我之所以需要它,是因为这个pod MercadoPagoSDK是某种动态库(╯°-°)╯,我真的不知道它在iOS开发世界中是什么意思。
现在我在xcode上编译的时候遇到了这个错误!
import of module 'glog.glog.log_severity' appears within namespace 'google'
我没有找到解决这个user_modular_headers!问题的办法。我已经从这里尝试了所有的想法,https://github.com/google/glog/issues/393,但恐怕没有一个管用。
发布于 2021-06-03 00:31:56
确保将以下内容添加到您的'../node_modules/react-native/third-party-podspecs/glog.podspec',文件中,包括pod 'glog',:pod‘glog’,:podspec => pod => => false
有关更多信息,请查看此处的完整线程:https://github.com/facebook/react-native/issues/26217
https://stackoverflow.com/questions/60123737
复制相似问题