【问题标题】:#import <React/RCTBundleURLProvider.h> file not found problem React Native ios#import <React/RCTBundleURLProvider.h> file not found 问题 React Native ios
【发布时间】:2019-06-10 20:54:15
【问题描述】:

在 React native Xcode for ios 应用程序中出现此错误

import React/RCTBundleURLProvider.h 没有找到构建配置文件

【问题讨论】:

    标签: android ios reactjs react-native native


    【解决方案1】:

    解决方案:

    在 Xcode 中为您的项目打开“构建设置”,搜索“标题搜索路径”。

    双击“标题搜索路径”旁边的其他属性有“是”或“否”的地方

    现在将以下内容添加到“标题搜索路径”(在构建设置下):

    $(SRCROOT)/../node_modules/react-native/React
    $(SRCROOT)/../node_modules/react-native/React/Base
    

    不要忘记让它们都递归。

    【讨论】:

      猜你喜欢
      • 2022-12-04
      • 2018-05-13
      • 1970-01-01
      • 1970-01-01
      • 2021-12-02
      • 2019-10-30
      • 2017-12-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多