OLD | NEW |
1 # Mac Build Instructions | 1 # Mac Build Instructions |
2 | 2 |
3 [TOC] | 3 [TOC] |
4 | 4 |
5 ## Prerequisites | 5 ## Prerequisites |
6 | 6 |
7 * A Mac running 10.9+. | 7 * A Mac running 10.9+. |
8 * [Xcode](https://developer.apple.com/xcode) 5+. | 8 * [Xcode](https://developer.apple.com/xcode) 5+. |
9 * [depot\_tools](http://dev.chromium.org/developers/how-tos/depottools). | 9 * [depot\_tools](http://dev.chromium.org/developers/how-tos/depottools). |
10 * Install Xcode's "Command Line Tools" via Xcode menu -> Preferences -> | 10 * Install Xcode's "Command Line Tools" via Xcode menu -> Preferences -> |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 be set in `/etc/sysctl.conf`: | 244 be set in `/etc/sysctl.conf`: |
245 | 245 |
246 echo kern.maxvnodes=$((512*1024)) | sudo tee -a /etc/sysctl.conf | 246 echo kern.maxvnodes=$((512*1024)) | sudo tee -a /etc/sysctl.conf |
247 | 247 |
248 Or edit the file directly. | 248 Or edit the file directly. |
249 | 249 |
250 If your `git --version` reports 2.6 or higher, the following may also improve | 250 If your `git --version` reports 2.6 or higher, the following may also improve |
251 performance of `git status`: | 251 performance of `git status`: |
252 | 252 |
253 git update-index --untracked-cache | 253 git update-index --untracked-cache |
| 254 |
| 255 ## Xcode license agreement |
| 256 |
| 257 If you're getting the error |
| 258 |
| 259 ``` |
| 260 Agreeing to the Xcode/iOS license requires admin privileges, please re-run as ro
ot via sudo. |
| 261 ``` |
| 262 |
| 263 the Xcode license hasn't been accepted yet which (contrary to the message) any |
| 264 user can do by running: |
| 265 |
| 266 xcodebuild -license |
| 267 |
| 268 Only accepting for all users of the machine requires root: |
| 269 |
| 270 sudo xcodebuild -license |
OLD | NEW |