【问题标题】:Run React Native iOS without Packager在没有 Packager 的情况下运行 React Native iOS
【发布时间】:2017-07-19 17:07:56
【问题描述】:

我正在尝试为 React Native iOS 构建我的应用程序,但打包程序无法运行,因为 React Native 仅侦听端口 8081,并且端口 8081 被 McAfee 占用,无法删除。如何在不使用打包程序的情况下运行 React Native?

感谢任何帮助!

【问题讨论】:

标签: react-native xcode8 bundle react-native-ios packager


【解决方案1】:

尝试发布方案。我认为它可以在不使用打包程序的情况下工作。

https://facebook.github.io/react-native/docs/running-on-device.html#2-configure-release-scheme

【讨论】:

  • 当我使用发布方案并点击Product -> Build时,我以错误结束:连接到localhost端口8081 [tcp/sunproxyadmin]成功!端口 8081 已在使用中,打包程序未运行或未正确运行 命令 /bin/sh 失败,退出代码为 2
猜你喜欢
  • 2016-06-17
  • 1970-01-01
  • 1970-01-01
  • 2017-01-05
  • 1970-01-01
  • 2021-07-29
  • 2018-12-04
  • 2021-07-22
  • 2021-04-08
相关资源
最近更新 更多