Skip to content

Commit 4c94bc8

Browse files
authored
doc: Update README.md
1 parent dbdb333 commit 4c94bc8

File tree

1 file changed

+7
-1
lines changed
  • website/src/pages/docs/environment-setup/ios

1 file changed

+7
-1
lines changed

website/src/pages/docs/environment-setup/ios/README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,13 @@ brew install watchman
4040

4141
### `CocoaPods`
4242

43-
[CocoaPods](https://cocoapods.org/) 是用 Ruby 构建的,并且可以使用 macOS 上可用的默认 Ruby 进行安装。 您可以使用 Ruby 版本管理器,但我们建议您使用 macOS 上可用的标准 Ruby,除非您知道自己在做什么。
43+
[CocoaPods](https://cocoapods.org/) 是一款适用于 iOS 和 macOS 开发的包管理工具。我们使用它在本地将实际的 React Native 框架代码添加到您当前的项目中。它是用 Ruby 构建的,并且可以使用 macOS 上可用的默认 Ruby 进行安装。您可以使用 Ruby 版本管理器,但我们建议您使用 macOS 上可用的标准 Ruby,除非您知道自己在做什么。
44+
45+
我们建议使用 [Homebrew](http://brew.sh/) 安装 [CocoaPods](https://cocoapods.org/)
46+
47+
```bash
48+
$ brew install cocoapods
49+
```
4450

4551
> 🚧 目前 [email protected] 需要 `pod v1.10.0+`<!--rehype:style=color: #0ab100;--> 以上的版本,可以在 `ios/Podfile`<!--rehype:style=color: #e00000;--> 中确定使用那个版本的 `pod`
4652
<!--rehype:style=border-left: 8px solid #ffe564;background-color: #ffe56440;padding: 12px 16px;-->

0 commit comments

Comments
 (0)