Skip to content

Commit

Permalink
doc: Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Aug 30, 2021
1 parent dbdb333 commit 4c94bc8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion website/src/pages/docs/environment-setup/ios/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@ brew install watchman

### `CocoaPods`

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

我们建议使用 [Homebrew](http://brew.sh/) 安装 [CocoaPods](https://cocoapods.org/)

```bash
$ brew install cocoapods
```

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

0 comments on commit 4c94bc8

Please sign in to comment.