Skip to content
This repository has been archived by the owner on Dec 26, 2019. It is now read-only.

iOS App crashes after calling window().getSize() - Appium 1.6.3 - XCUITest #432

Closed
limitcracker opened this issue Dec 29, 2016 · 2 comments

Comments

@limitcracker
Copy link

The problem

I go to a screen that is our Sing Out screen. When I go by hand and perform actions app doesn't crash, but when I call window().getSize() or any other method via appium on that screen the app crashes.

Environment

Desktop OS/version used: MacOS
Mobile platform/version under test: iOS 10.2 on
Real device or emulator/simulator: real(iPhone 6 Plus) and emulator
Test platform: Appium 1.6.3

System logs
iphone-6-plus-emulator-logs.txt

@marekcirkos
Copy link
Contributor

It crashes during collection of accessibility information. That means that it will also crash when application is launched in accessibility mode. It is either Apples bug or you are using same selector that apple uses in injected categories. I had similar issues and in my case it was proper named 'viewDelegate'. Renaming it fixed the issue.

@marekcirkos
Copy link
Contributor

@limitcracker any luck?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants