Xcode运行错误响应本机NSInvalidArgumentException

时间:2018-07-12 12:54:27

标签: xcode react-native

在xcode中运行react native项目时出现以下错误:

2018-07-12 14:19:13.336 [info][tid:main][RCTCxxBridge.mm:210] 
Initializing <RCTCxxBridge: 0x6000001d4be0> (parent: <RCTBridge: 0x6080002c1260>, executor: (null))
2018-07-12 14:19:13.338799+0200 pleasefix[16614:4513384] Initializing 
<RCTCxxBridge: 0x6000001d4be0> (parent: <RCTBridge: 0x6080002c1260>, 
executor: (null))
2018-07-12 14:19:13.444 [warn][tid:main][RCTBridge.m:119] Class 
RCTCxxModule was not exported. Did you forget to use 
RCT_EXPORT_MODULE()?
2018-07-12 14:19:13.444411+0200 pleasefix[16614:4513384] Class 
RCTCxxModule was not exported. Did you forget to use 
RCT_EXPORT_MODULE()?
2018-07-12 14:19:13.471746+0200 pleasefix[16614:4513384] -[RCTCxxBridge 
devSettings]: unrecognized selector sent to instance 0x6000001d4be0
2018-07-12 14:19:13.487811+0200 pleasefix[16614:4513384] *** Terminating 
app due to uncaught exception 'NSInvalidArgumentException', reason: '- 
[RCTCxxBridge devSettings]: unrecognized selector sent to instance 
0x6000001d4be0'

有人遇到过这个问题吗?任何想法如何解决?

0 个答案:

没有答案