Fail to Start Appium server in 60 seconds_Mobile object Spy

Hello,

I have performed all the steps mentioned for the iOS mobile setup defined here ([Mobile] iOS Setup (Simulators) in Katalon Studio | Katalon Docs)

I can intialize WebDriver Agent and also can open the Integration App on my real iOS device, but whenever I try to run the code on my application I am getting following error:

Original error: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent. Original error: xcodebuild failed with code 65. This usually indicates an issue with the local Xcode setup or WebDriverAgent project configuration or the driver-to-platform version mismatch. Consider setting ‘showXcodeLog’ capability to true in order to check the Appium server log for build-related error messages.. Make sure you follow the tutorial at Real Device Configuration - Appium XCUITest Driver

Also When I try to inspect the element using Mobile Object Spy I am getting ‘Fail to Start Appium server in 60 seconds’ error.
Defining all the versions on my machine
Xcode: 16.2
appium - 2.16.0
uiautomator2 @4.1.5
xcuitest. @7.9.1
Node - v20.15.0
Please help me

1 Like

Hi there, and thanks for posting in the Katalon community! :hugs:

To help you faster, please review our guide on Record Mobile Utility here:

Double-checking the steps and configurations might resolve the issue.

If the doc doesn’t help, feel free to provide more details, and a community member will assist you soon.

Thanks for being a part of our community!
Best,
Elly Tran

Hi there, and thanks for posting in the Katalon community! :hugs:

To help you faster, please review our guide on the error “Fail to start Appium server in 60 seconds” here:

Double-checking the steps and configurations might resolve the issue.

If the doc doesn’t help, feel free to provide more details, and a community member will assist you soon.

Thanks for being a part of our community!
Best,
Elly Tran

1 Like

@ashwini the code 65 generally means that the webdriver agent is not setup properly. Are you using a real iOS device or a simulator?