Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ Array of strings that will be passed to the `npx react-native run-ios` command w

#### project.ios.automaticPodsInstallation

> Default: `true`

A boolean value to determine if you want to automatically install CocoaPods when running `run-ios` or `build-ios` command when:

- they are not yet installed
Expand All @@ -103,7 +105,7 @@ A boolean value to determine if you want to automatically install CocoaPods when

If set to `true`, you can skip running `pod install` manually whenever it's needed.

> Note: Starting from React Native 0.73, CLI's `init` command scaffolds the project with `react-native.config.js` file with this value set to `true` by default. Older projects can opt-in after migrating to 0.73. Please note that if your setup does not follow the standard React Native template, e.g. you are not using Gems to install CocoaPods, this might not work properly for you.
> Note: Starting from React Native 0.73, CLI's `init` command scaffolds the project with `react-native.config.js` file with this value set to `true` by default. Older projects can opt-in after migrating to 0.73. Please note that if your setup does not follow the standard React Native template, e.g. you are not using Gems to install CocoaPods, this might not work properly for you. Starting from React Native 0.79, users shouldn't install CocoaPods manually, but can still opt-out of automatic installation by setting this value to `false`.

### project.ios.assets

Expand Down
2 changes: 1 addition & 1 deletion packages/cli-config/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export const projectConfig = t
.object({
sourceDir: t.string(),
watchModeCommandParams: t.array().items(t.string()),
automaticPodsInstallation: t.bool().default(false),
automaticPodsInstallation: t.bool().default(true),
assets: t.array().items(t.string()).default([]),
})
.default({}),
Expand Down
Loading