| OLD | NEW |
| 1 # iOS Build Instructions | 1 # Checking out and building Chromium for iOS |
| 2 | 2 |
| 3 There are instructions for other platforms linked from the |
| 4 [get the code](get_the_code.md) page. |
| 5 |
| 3 **See also [the old version of this page](old_ios_build_instructions.md).** | 6 **See also [the old version of this page](old_ios_build_instructions.md).** |
| 4 | 7 |
| 8 ## Instructions for Google Employees |
| 9 |
| 10 Are you a Google employee? See |
| 11 [go/building-chrome](https://goto.google.com/building-chrome) instead. |
| 5 Google employee? See [go/building-chrome](https://goto.google.com/building-chrom
e) instead. | 12 Google employee? See [go/building-chrome](https://goto.google.com/building-chrom
e) instead. |
| 6 | 13 |
| 7 [TOC] | 14 [TOC] |
| 8 | 15 |
| 9 ## System requirements | 16 ## System requirements |
| 10 | 17 |
| 11 * A 64-bit Mac running 10.11+. | 18 * A 64-bit Mac running 10.11+. |
| 12 * [Xcode](https://developer.apple.com/xcode) 8.0+. | 19 * [Xcode](https://developer.apple.com/xcode) 8.0+. |
| 13 * The OS X 10.10 SDK. Run | 20 * The OS X 10.10 SDK. Run |
| 14 | 21 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 ``` | 101 ``` |
| 95 | 102 |
| 96 Note: you need to run `setup-gn.py` script every time one of the `BUILD.gn` | 103 Note: you need to run `setup-gn.py` script every time one of the `BUILD.gn` |
| 97 file is updated (either by you or after rebasing). If you forget to run it, | 104 file is updated (either by you or after rebasing). If you forget to run it, |
| 98 the list of targets and files in the Xcode solution may be stale. | 105 the list of targets and files in the Xcode solution may be stale. |
| 99 | 106 |
| 100 You can also follow the manual instructions on the | 107 You can also follow the manual instructions on the |
| 101 [Mac page](mac_build_instructions.md), but make sure you set the | 108 [Mac page](mac_build_instructions.md), but make sure you set the |
| 102 GN arg `target_os="ios"`. | 109 GN arg `target_os="ios"`. |
| 103 | 110 |
| 104 ## Running | 111 ## Running `ios_web_shell` |
| 105 | 112 |
| 106 Any target that is built and runs on the bots (see [below](#Troubleshooting)) | 113 Any target that is built and runs on the bots (see [below](#Troubleshooting)) |
| 107 should run successfully in a local build. As of the time of writing, this is | 114 should run successfully in a local build. As of the time of writing, this is |
| 108 only the `ios_web_shell` and `ios_chrome_unittests` targets—see the note at the | 115 only the `ios_web_shell` and `ios_chrome_unittests` targets—see the note at the |
| 109 top of this page. Check the bots periodically for updates; more targets (new | 116 top of this page. Check the bots periodically for updates; more targets (new |
| 110 components) will come on line over time. | 117 components) will come on line over time. |
| 111 | 118 |
| 112 To run in the simulator from the command line, you can use `iossim`. For | 119 To run in the simulator from the command line, you can use `iossim`. For |
| 113 example, to run a debug build of `ios_web_shell`: | 120 example, to run a debug build of `ios_web_shell`: |
| 114 | 121 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 194 |
| 188 ```shell | 195 ```shell |
| 189 $ xcodebuild -license | 196 $ xcodebuild -license |
| 190 ``` | 197 ``` |
| 191 | 198 |
| 192 Only accepting for all users of the machine requires root: | 199 Only accepting for all users of the machine requires root: |
| 193 | 200 |
| 194 ```shell | 201 ```shell |
| 195 $ sudo xcodebuild -license | 202 $ sudo xcodebuild -license |
| 196 ``` | 203 ``` |
| OLD | NEW |