【发布时间】:2019-06-10 20:54:15
【问题描述】:
【问题讨论】:
标签: android ios reactjs react-native native
【问题讨论】:
标签: android ios reactjs react-native native
解决方案:
在 Xcode 中为您的项目打开“构建设置”,搜索“标题搜索路径”。
双击“标题搜索路径”旁边的其他属性有“是”或“否”的地方
现在将以下内容添加到“标题搜索路径”(在构建设置下):
$(SRCROOT)/../node_modules/react-native/React
$(SRCROOT)/../node_modules/react-native/React/Base
不要忘记让它们都递归。
【讨论】: