TypeText method not working on iOS device

When I use the TypeText method to type on XCUIElementTypeTextField using the accessibility ID, the step says as passed but it doesn’t get typed.

Agent Version: 3.5.0
iOS: 15.5
Device: Real Device(iPhoneXS)