Skip to content

Commit b1f4edf

Browse files
authored
docs: mention installing cocoapods (#879)
1 parent bd75096 commit b1f4edf

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

website/src/4.x/docs/getting-started.mdx

+14
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ To create a new React Native project with Re.Pack or adapt an existing one:
4545
```bash
4646
npx @callstack/repack-init
4747
```
48+
### [Optional] Install project CocoaPods dependencies
49+
```bash
50+
npx pod-install
51+
```
4852
</Steps>
4953

5054
{/* prettier-ignore-end */}
@@ -159,3 +163,13 @@ react {
159163
bundleCommand = "webpack-bundle"
160164
}
161165
```
166+
167+
### 6. Install CocoaPods dependencies
168+
169+
For iOS development, you need to install CocoaPods dependencies. From the project root directory run:
170+
171+
```bash
172+
npx pod-install
173+
```
174+
175+
This will install all the necessary iOS dependencies for your project, including the Re.Pack native module.

website/src/5.x/docs/getting-started/quick-start.mdx

+14
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ To create a new React Native project with Re.Pack or adapt an existing one:
4545
```bash
4646
npx @callstack/repack-init
4747
```
48+
### [Optional] Install project CocoaPods dependencies
49+
```bash
50+
npx pod-install
51+
```
4852
</Steps>
4953

5054
{/* prettier-ignore-end */}
@@ -159,3 +163,13 @@ react {
159163
bundleCommand = "webpack-bundle"
160164
}
161165
```
166+
167+
### 6. Install CocoaPods dependencies
168+
169+
For iOS development, you need to install CocoaPods dependencies. From the project root directory run:
170+
171+
```bash
172+
npx pod-install
173+
```
174+
175+
This will install all the necessary iOS dependencies for your project, including the Re.Pack native module.

0 commit comments

Comments
 (0)