`project.ios.automaticPodsInstallation` 的默认值为 `true`,除非在 `react-native.config.js` 中明确声明了 `project.ios`
作者: schteff创建于 2026年8月19日更新于 2026年8月19日
标签bug report
Since #2602 ("install Cocoapods by default in all projects"), the schema declares automaticPodsInstallation: t.bool().default(true) and docs/projects.md documents Default: true. In practice, that default is unreachable for any project that does not explicitly declare a project.ios block — which is every project created by init, since the template ships no react-native.config.js and generation of that file was removed in #2203.
内容来源: react-native-community/cli