1Testing on iOS
2==============
3Before setting Skia up for automated testing from the command line, please
4follow the instructions to run Skia tests (*dm*, *nano-bench*) with the
5mainstream iOS tool chain. See the [quick start guide for ios](../../user/quick/ios).
6
7iOS doesn't lend itself well to compiling and running from the command line.
8Below are instructions on how to install a set of tools that make this possible.
9To see how they are used in automated testing please see the bash scripts
10used by the buildbot recipes: <https://github.com/google/skia/tree/master/platform_tools/ios/bin>.
11
12Installation
13------------
14The key tools are
15
16* libimobiledevice <http://www.libimobiledevice.org/>, <https://github.com/libimobiledevice/libimobiledevice>
17
18* ios-deploy <https://github.com/phonegap/ios-deploy>
19
20Follow these steps to install them:
21
22* Install Brew at <http://brew.sh/>
23* Install *libimobiledevice*
24  (Note: All these are part of the *libimobiledevice* project but packaged/developed
25  under different names. The *cask* extension to *brew* is necessary to install
26  *osxfuse* and *ifuse*, which allows to mount the application directory on an iOS device).
27```
28brew install libimobiledevice
29brew install ideviceinstaller
30brew install caskroom/cask/brew-cask
31brew install Caskroom/cask/osxfuse
32brew install ifuse
33```
34* Install node.js and ios-deploy
35```
36$ brew update
37$ brew install node
38$ npm install ios-deploy
39```
40