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