Unable to Get Keyboard and List element appium Studio Spy after iOS 16

Image 1 : Able to recognize USD in List below in iOS 14.4


Image 2 : Not Able to recognize USD in List below in iOS 16.6

Right click on USD and copy the Xpath, search through the Xpath, or alternatively, Click on USD then in the Object properties spy, right click on text or on USD right beside text, copy the xpath and use that.
Note, this will search based on text, which in your situation seems to be the only option.