How to inspect elements on IOS app

Hi Team,

I want to inspect my IOS app elements in order to write testCases. I am using appium with webdriverio for my automation work.
I added below capabilities in Appium inspector but I don’t see my IOS device loaded on appium inspector after starting the session
> {

  "platformName": "iOS",
  "appium:deviceName": "iPhone 13",
  "appium:automationName": "XCUITest",
  "appium:udid": "7AB181D2-1BDC-447C-9D8F-CAA382A05694"
}


Appium logs: appium-server-logs.txt (71.0 KB)

appium inspector -v
1.22.3

Xcode version - Version 13.3

appium -v
1.22.3

Can someone please tell me what I am missing at my end? Thanks :slight_smile:

Not sure, but have you tried to add capability “app”: “path to app” or “browserName”: “Safari”, just to check whether something will be loaded?

Thankyou for taking on this.

Yes I added “app”: “path to app” and now I can see appium inspector started working. Thankyou :slight_smile:

1 Like

After making above changes, still getting error “xcodebuild failed with code 65 xcodebuild error message:”. Can some one help?

In WebDriverAgent project, Scheme selected as Integration app. Is this causing issue?