[Mobile] Set up real iOS devices in Katalon Studio
This article shows you how to set up a real iOS device on a macOS machine. After setting up the device, you can test iOS applications with Katalon Studio.
Note:
- You can not execute iOS mobile testing in Windows or Linux.
1. Install Xcode
Install Xcode version 10.2 or newer. You can download Xcode from the Apple Developer website: Download Xcode.
Note:
- Katalon Studio does not officially support Xcode 14 at the moment.
- Xcode must support the current version of your iOS device. To learn more about the supported iOS environments in Katalon Studio, see: Supported environments.
2. Install Appium, Xcode command-line tools, and other iOS dependencies
Install with built-in tools
Install manually
3. Set up the real iOS device
Important:
- You have enrolled in the Apple Developer Program. To learn more about the Apple Developer Program enrollment, refer to this Apple document: Enrollment.
4. Install the WebDriverAgent
The WebDriverAgent is a WebDriver server used to control iOS devices remotely. For detailed instruction on WebDriverAgent installation, refer to Install WebDriverAgent for iOS devices.
5. Distribute your app to registered devices
To distribute your app for testing to registered devices, you need to archive and export an .ipa
file. Do as follows:
Prepare your app for distribution
Create an archive of your app
To archive the
.ipa
file, click Product > Archive. If the archive builds successfully, it appears in the Archives organizer.Note:
- You can't create an archive if you set the run destination to a simulator.