升级到XCode12.5后不再构建ReactNativeApp

我的本机应用程序之前在 xcode 11 中构建并在模拟器上运行。但是,自从升级到 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。

以上是升级到XCode12.5后不再构建ReactNativeApp的全部内容。
THE END
分享
二维码
< <上一篇
下一篇>>