无条件启用iOS上的反应新拱门

发布于 2025-02-01 13:04:36 字数 266 浏览 0 评论 0 原文

我们看到

use_fabric = 1 rct_new_arch_enabled = 1 pod install

但是我如何使这些标志永久性,以便我不必设置环境变量,以便为任何克隆的人启用它存储库?我看了看,找不到任何答案。

谢谢 :)

In https://reactnative.dev/docs/new-architecture-app-renderer-ios we see

USE_FABRIC=1 RCT_NEW_ARCH_ENABLED=1 pod install

But how can I make these flags permanent so that I do not have to set environment variables and so it is enabled for anybody who clones the repository? I have looked and cannot find any answers.

Thanks :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

难以启齿的温柔 2025-02-08 13:04:36

您可以放入podfile

env ['rct_new_arch_enabled'] =“ 1”

请参阅 https://github.com/software-mansion/react-native-screens/issues/1420

You can put in the Podfile

ENV['RCT_NEW_ARCH_ENABLED'] = "1"

See https://github.com/software-mansion/react-native-screens/issues/1420

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文