WDA itself requires an iOS dependency manager called Carthage. These applications weren't built to easily allow programmatic use, which is why Appium uses libimobiledevice for certain operations.Īppium also uses a package called ios-deploy for transferring iOS apps onto your device, so let's install that too. The only official applications made by Apple for communicating with iOS devices are Xcode and iTunes. Next we will install libimobiledevice, an open source package which is able to communicate with iOS devices. (You will need to accept the End User License Agreement and may have to click a button to "install additional components").
Next let's launch Xcode in case it hasn't been launched before. Then, since we will be using Homebrew, let's run brew update. To begin with, check that we have the latest version of Xcode installed. Let's make sure all our software is up to date. While the tutorial should remain largely correct for other versions, your mileage may vary!) Organize Our Work Areaįirst things first, let's clean up our workspace and get ready to start a new project. (NB: This tutorial was written with OS X v10.14, Xcode version 10.0, automating an iPhone X S running iOS version 12.0.1. Real iOS device testing can only take place on a Mac. This edition of Appium Pro is about getting started with a real iOS device test starting from scratch.
#GITHUB APPIUM TUTORIAL HOW TO#
Stay tuned for next week when Jonah will show us how to put it all together. Since getting set up with real iOS devices can be a long and involved process, this first edition will cover all the preliminary work you need to do to make sure Appium, your app, and your device will all be able to talk to each other. It's a tutorial on getting started from scratch, authored by Appium contributor Jonah Stiennon. This is the first in a 2-part series on using real iOS devices with Appium.