在我们看到
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 :)
发布评论
评论(1)
您可以放入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