Appium unable to recognise UIWindows

I am trying to automate our iOS NATIVE app on iPAD using appium. We are facing issues that appium inspector doesn’t recognize screens which are UIWindows and no page source is returned. Can someone help where am I going wrong?
Appium Version : 1.18.3
Xcode version : 11.7