Maria L Sol
Maria L Sol

Reputation: 21

XCode9: XCUITest gives Runner UIAccessibility Error

I'm getting a lot of error when run XCUITests on real device:

Runner [AXValidations] UIAccessibility Error adding -[PHAsset accessibilityLabel] Runner [AXValidations] UIAccessibility Error adding -[PLManagedAsset accessibilityLabel] Runner[AXValidations] UIAccessibility Error adding -[PLManagedaAsset accessibilityValue] Runner [AXValidations] UIAccessibility Error adding -[PLManagedAsset accessibilityTraits] Runner[AXValidations] UIAccessibility Error adding -[PLManagedAsset _accessibilityPhotoDescription] Runner [AXValidations] UIAccessibility Error adding +[PLManagedAsset safeCategoryBaseClass]

It slow down the tests. Also I don't see these errors running tests on simulators.

Upvotes: 2

Views: 345

Answers (1)

jontelang
jontelang

Reputation: 609

While I don't have a proper solution at hand, nor do I know the real issue that's going on -- restarting not only Xcode, but also the whole device, got me rid of these messages.

Hopefully this is OK as a proposed answer, since there's nothing else.

Upvotes: 1

Related Questions