ios react native 手动配置 realm 使用cocoapods 会编译报错 fatal error: 'React/RCTBridge.h' file not found


网上的配置的3 步结束后 会报  fatal error: 'React/RCTBridge.h' file not found

这个时候需要修改 node_modules/realm/react-native/ios/RealmReact.xcodeproj 的工程 源码配置。

需要修改 header search paths  加一项 如下图 。


ios react native 手动配置 realm 使用cocoapods 会编译报错 fatal error: 'React/RCTBridge.h' file not found