1 Testing on iOS 2 ============== 3 Before setting Skia up for automated testing from the command line, please 4 follow the instructions to run Skia tests (*dm*, *nano-bench*) with the 5 mainstream iOS tool chain. See the [quick start guide for ios](../../user/quick/ios). 6 7 iOS doesn't lend itself well to compiling and running from the command line. 8 Below are instructions on how to install a set of tools that make this possible. 9 To see how they are used in automated testing please see the bash scripts 10 used by the buildbot recipes: <https://github.com/google/skia/tree/master/platform_tools/ios/bin>. 11 12 Installation 13 ------------ 14 The 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 20 Follow 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 brew install libimobiledevice 29 brew install ideviceinstaller 30 brew install caskroom/cask/brew-cask 31 brew install Caskroom/cask/osxfuse 32 brew 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