Unable to find the elements in Home page in Mac

Hi,

I am able to Login into the App, but couldn’t able to find the elements in the Home Page.

I tried with getpagesource but still couldn’t.

Appium Error Domain=com.apple.dt.xctest.automation-support.error Code=8 “Error getting main window -25201” UserInfo={NSLocalizedDescription=Error getting main window -25201}

When there are a lot of cells to fetch the app crashes.

Appium Desktop version : 1.13.0
MacOS: 10.14.5
Xcode: 10.2.1
Simulator and real device
iOS: 11.1, 12.0

[HTTP] {“using”:“xpath”,“value”:"//XCUIElementTypeOther[contains(@name,“schedule.fab.button”)]"}
[Xcode] 2019-02-06 14:33:49.671156+0000 WebDriverAgentRunner-Runner[375:84132] Getting the snapshot timed out after 15 seconds
[Xcode] 2019-02-06 14:33:49.671371+0000 WebDriverAgentRunner-Runner[375:84132] Internal error: Error Domain=com.apple.dt.xctest.automation-support.error Code=5 “Timed out snapshotting com.apple.testmanagerd, app is either unresponsive or taking too long to snapshot.” UserInfo={accessibility-error=-25204, NSLocalizedDescription=Timed out snapshotting com.apple.testmanagerd, app is either unresponsive or taking too long to snapshot.}
[Xcode] t = 135.93s Snapshot accessibility hierarchy for app with pid 378
[Xcode]
[Xcode] t = 135.93s Snapshot accessibility hierarchy for app with pid 378
[Xcode]
[Xcode] t = 154.39s Get all elements bound by accessibility element for: Elements matching predicate ‘wdUID IN {“05000000-0000-0000-7A01-000000000000”, “8C000000-0000-0000-7A01-000000000000”, “06000000-0000-0000-7A01-000000000000”} AND (1 == 1 OR identifier == 0 OR frame == 0 OR value == 0 OR title == 0 OR label == 0 OR elementType == 0 OR enabled == 0 OR placeholderValue == 0)’
[Xcode]
[Xcode] t = 154.40s Snapshot accessibility hierarchy for app with pid 378
[Xcode]

Could you please help me with this?

Automation can’t test crashed apps.