我的应用程序是混合即IOS Native / React Native,在“排毒测试--loglevel verbose”时,它被卡在“detox verb ws send:{”type“:”isReady“,”params“:{}, “messageId”: - 1000}“但是在我手动点击反应原生子模块(在ios模拟器上)后不久,它就会收到”onMessage:{“type”:“ready”,“messageId”: - 1000,“params” :{}}“并且无法完成我最初为IOS Native部分编写的测试 .

这是日志Detox_Logs

注意事项

  • 我在xcode app中也添加了这个片段“[[NSNotificationCenter defaultCenter] postNotificationName:@”RCTContentDidAppearNotification“object:nil];”但没有解决目的 .

  • 我已经在我拥有react-native子模块的文件夹中安装了排毒,xcode工作区也位于另一个文件夹中 .

请通过这个指导,这将非常有帮助 .