`React/RCTBridgeModule.h` file not found

后端 未结 21 2254
执笔经年
执笔经年 2020-11-30 00:31

Getting this error while building a react-native iOS app on xcode.

Started getting this error after npm install and rpm linking react-native-fs library. But

21条回答
  •  攒了一身酷
    2020-11-30 00:42

    I ran into this issue after doing a manual react-native link of a dependency which didn't support auto link on RN 0.59+

    The solution was to select the xcodeproj file under the Libraries folder in Xcode and then in Build Settings, change Header Search Paths to add these two (recursive):

    $(SRCROOT)/../../../ios/Pods/Headers/Public/React-Core
    $(SRCROOT)/../../../ios/Pods/Headers/Public
    

提交回复
热议问题