gpt4 book ai didi

react-native - 如何摆脱 "Loading from pre-bundled file"消息?

转载 作者:行者123 更新时间:2023-12-03 14:44:00 25 4
gpt4 key购买 nike

在启动屏幕之后,但在加载应用程序之前,屏幕顶部会出现一条“从预捆绑文件加载”消息,仅显示几百毫秒。我在开发中不介意这个,但我在手机上运行时仍然看到这条消息。这是我创建捆绑包的方式。有任何想法吗?谢谢。

react-native bundle --platform ios --dev false --entry-file index.ios.js --bundle-output App/main.jsbundle --resetCache

最佳答案

更改构建配置以发布

disable the developer menu因此,您提到的消息,您应该更改您的 Build ConfigurationRelease .

For iOS open your project in Xcode and select Product → Scheme → Edit Scheme... (or press ⌘ + <). Next, select Run from the menu on the left and change the Build Configuration to Release.

关于react-native - 如何摆脱 "Loading from pre-bundled file"消息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34425148/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com