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