我尝试根据本教程将React Native集成到我现有的iOS应用程序(混合代码ObjC和Swift)中:https://facebook.github.io/react-native/docs/integration-with-existing-apps.html
但每当我尝试编译我的项目时,我都会得到 'string' file not found
(还有一个问题:https://github.com/facebook/react-native/issues/17556但还没有解决方案) .
有人解决了这个问题吗?
1 回答
我们最近也在通过CocoaPods整合RN时遇到了这个问题 .
不确定您是否仍在寻找解决方案,但正如您在链接的问题中esam091所述,解决方法是在Podfile中添加此postinstall挂钩 .
这删除了罪魁祸首 Headers . RN 0.53仍是一个问题