`React/RCTBridgeModule.h` file not found

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

    Go to iOS folder in your project and install pod -

    $ pod install
    

    If you are getting any error in installation of pod type command-

    $ xcode-select -p
    

    Result should be - /Applications/Xcode.app/Contents/Developer

    If the path is incorrect then open your iOS project in Xcode and go to: Xcode->preferences->command line tools-> select Xcode

    And again install the pod your issue will be fixed.

提交回复
热议问题