React Native IOS Xcode发布版本在以下文档之后打开metro服务器



所以下面。。。。https://facebook.github.io/react-native/docs/running-on-device.html#building-用于生产的应用程序

为什么metro仍然开放发布?

选择目标转到构建阶段打开StartPackager脚本并替换

if [ -z "${RCT_NO_LAUNCH_PACKAGER+xxx}" ] ; then

带有

if [ -z "${RCT_NO_LAUNCH_PACKAGER+xxx}" ] && [ "$CONFIGURATION" == "Debug" ] ; then

最新更新