Unable to inspect elements on iOS on React Native App

Unable to inspect elements on iOS on React Native App.
Able to inspect same app elements on Android.
Using appium inspector and only XCUIElementTypeOther is coming, whole screen is highlighted when any element is selected from hierarchy.
Same page source coming when driver.getPageSource() is printed. Also used snapshotMaxDepth capability but still same issue