`React/RCTBridgeModule.h` file not found

后端 未结 21 2315
执笔经年
执笔经年 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:50

    QUICK FIX (not the best)

    Change the import react-native header lines:

     #import 
     #import 
    

    To:

     #import "RCTBridgeModule.h"
     #import "RCTLog.h"
    

    Here is an example of changes I had to make for the library I was trying to use: Closes #46 - 'RCTBridgeModule.h' file not found.

提交回复
热议问题