繁体   English   中英

react-native与现有ios应用程序集成

[英]react-native integrating with existing ios apps

遵循了这里的指示:

https://facebook.github.io/react-native/docs/embedded-app-ios.html#content

我能够安装所需的react子规范,并通过pod install来进行react规范。我还能够运行本地react服务器来服务捆绑包。

但是我看到以下问题阻止我的应用在iOS模拟器中启动。

/.../node_modules/react-native/React/Executors/RCTContextExecutor.m:560:7: Comparison of function 'JSGlobalContextSetName' not equal to a null pointer is always true


/.../node_modules/react-native/React/Base/RCTRootView.m:230:17: Method override for the designated initializer of the superclass '-initWithFrame:' not found

有人可以帮助解密发生的事情吗? 似乎它是特定于React库中的RCTRootView实现的。

我发现问题出在哪里,我启动了react-native应用程序。 它不是从项目根目录运行的。 修复了在模拟器中启动应用的问题,这些警告并不是真正的根本原因。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM