Skip to content

XCUITest driver fails to connect (port 53415) on Maestro 2.6.0 + Xcode 26.4 #3327

@Elliot727

Description

@Elliot727

Is there an existing issue for this?
• I have searched the existing issues and found no matches.

Steps to Reproduce
1 Run any Maestro test on an iOS simulator:
maestro --verbose test launch.yaml
2
3 Maestro tries to install and start the XCUITest driver.
4 xcodebuild test-without-building completes successfully, but the driver never becomes available.
Expected Behavior
The XCTest runner should start properly and Maestro should connect to the driver without issues.

Actual Behavior
The driver installation appears to succeed, but repeated status checks fail with:
Failed to connect to /127.0.0.1:53415
java.net.ConnectException
Maestro gets stuck in an endless retry loop until the process is manually killed.
Actual Results (Logs)
disableAnsi=false([ INFO]) [Start] Perform XCUITest driver status check on D0CCAE47-089E-4371-A61A-50809347BD0B
disableAnsi=false([ INFO]) [Failed] Perform XCUITest driver status check on D0CCAE47-089E-4371-A61A-50809347BD0B, exception: java.net.ConnectException: Failed to connect to /127.0.0.1:57817
(This repeats indefinitely)

Environment
• Maestro Version: 2.6.0
• macOS: 26.4.1
• Xcode: 26.4
• Device: iPhone Simulator (multiple devices tested)
• App: Expo Dev Client
• Architecture: x86_64

Installation Method
Installed via the official script: https://get.maestro.mobile.dev
Additional Info
• App type: Cross-platform (Expo)
• No other details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions