RN项目 Xcode 启动报错 Cannot initialize a parameter of type 'NSArray> *' with an lv...

if you don't want to upgrade, try replacing

  • (NSArray *)_initializeModules:(NSArray> *)modules

with :

  • (NSArray *)_initializeModules:(NSArray *)modules

in file named RCTCxxBridge.mm at nearly line 770

https://github.com/facebook/react-native/issues/31412

你可能感兴趣的:(RN项目 Xcode 启动报错 Cannot initialize a parameter of type 'NSArray> *' with an lv...)