【发布时间】:2021-07-22 16:10:24
【问题描述】:
我之前在 xcode 11 中构建并在模拟器上运行的 react 本机应用程序。但是,自从升级到 xcode 12.5 后,我收到以下构建错误
Cannot initialize a parameter of type 'NSArray<id<RCTBridgeModule>> *' with an rvalue of type 'NSArray<Class>*'
Cannot initialize a parameter of type 'NSArray<Class> *' with an lvalue of type 'NSArray<id<RCTBridgeModule>> *__strong'
Cannot initialize a parameter of type 'NSArray<id<RCTBridgeModule>> *' with an lvalue of type 'NSArray<Class> *__strong'
这些错误来自我通过 cocoapods 在我的项目中的 react-core。
【问题讨论】:
标签: xcode react-native xcode12