Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Running error on xcode 11 #90

@jaderYang

Description

@jaderYang

This library has worked very well on xcode10 in the past year. But recently Apple requested that all App need to be packaged with xcode11. I found monkey test runs error on xcode11.

Error message:
Failed to get matching snapshots: Timed out snapshotting com.apple.testmanagerd, app is either unresponsive or taking too long to snapshot.
Here is my code

let application = XCUIApplication()
 _ = application.descendants(matching: .any).element(boundBy: 0).frame
 let monkey = Monkey(frame: application.frame)
 monkey.addDefaultUIAutomationActions()
 monkey.addXCTestTapAlertAction(interval: 100, application: application)
 monkey.monkeyAround(iterations: 1000)

I tried the method mentioned on #83, but it didn't work.

Could you help me to check it?
Thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions