`React/RCTBridgeModule.h` file not found

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

    After React Native 0.60 this issue is often caused by a linked library mixed with the new 'auto-linking' feature. This fixes it for me

    Unlink old library using

    $ react-native unlink react-native-fs
    

    Refresh Pods integration entirely using

    $ pod deintegrate && pod install
    

    Now reload your workspace and do a clean build.

提交回复
热议问题