• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
28```
29brew install libimobiledevice
30brew install ideviceinstaller
31brew install caskroom/cask/brew-cask
32brew install Caskroom/cask/osxfuse
33brew install ifuse
34```
35
36* Install node.js and ios-deploy
37
38```
39$ brew update
40$ brew install node
41$ npm install ios-deploy
42```
43