IOS Automation for Mac

We have released an IOS agent for Mac. Follow the steps below to complete the setup and start running your IOS Mobile scenarios.

Preconditions:

  • IOS device should be connected to Mac via USB Cable
  • You need to have Apple Developer Account (Free version is enough)

Steps to follow:
1.Download and Register the U-xer Agent

  • Download the agent from U-XER
  • Complete the registration steps.
  • Click the iOS button on the U-xer agent interface.

2.Open the App Store on your Mac.

  • Search for “Xcode” and install the latest version.

3.Install Command Line Tools

  • Open Terminal.
  • Run the command:
    xcode-select --install

4.Set Up Xcode Project

  • Open the U-xer agent application.
  • Click the “Setup Xcode Project” button.

  • Wait for the process to complete, as it may take some time to create the project.

5.Select the WebDriverAgentRunner Scheme

  • In the scheme selector (top left corner of Xcode), select WebDriverAgentRunner.

6.Configure Signing & Capabilities:

  • Click on the WebDriverAgent project in the Xcode navigator.
  • Ensure you have an Apple Developer account.
  • Click on “WebDriverAgent” in the project navigator.

  • Go to the “Signing & Capabilities” tab.

  • Under “Team”, select your development team from the dropdown menu.

7.In Xcode, navigate to Product > Test or press Command-U.

  • The initial test run will fail.

8.Trust the Uxer-Runner App on Your IOS Device

  • On your iOS device, go to Settings > General > VPN & Device Management.
  • Find the Uxer-Runner app profile and select it.
  • Click “Trust” and confirm that the app is verified.

  • Rebuild and Run WebDriverAgent. (Back in Xcode, navigate to Product > Test again.)

  • The build should succeed this time.

  • You will see “Automation Running” displayed on your mobile device.

9.Click the “Start Automation” button in the U-xer app.

10.Verify Device Connection

  • Take a screenshot or otherwise verify that the device is connected successfully and ready to run automation scenarios.