KIF output: AX Exchange error: Error Domain=Accessibility Code=0 “Remote service does not respond to _accessibilityMachPort”

前端 未结 2 1565
栀梦
栀梦 2021-02-15 01:04

When running KIF integration tests on device with iOS 8.1.3 I get lots of diagnostic messages of the following kind as console output:

AX Exchange error:

相关标签:
2条回答
  • These warnings apparently disappear if one enables VoiceOver on the device (with iOS 8.1 Settings | General | Accessibility), however now one gets spammed with (perhaps) lots of redundant audio instead of log messages.

    KIF is employing iOS Accessibility (VoiceOver) for what is not its normal purpose, but for locating UI elements by their accessibilityIdentifiers and accessibilityLabels (without serving Accessibility). It is conceivable that the same pattern applies in reported cases around MFMailComposerViewController for filling mail messages in the UI. If that is so, it may be fair enough if iOS 8.1 reduces Accessibility (VoiceOver) services when they are not needed (enabled) for their normal purposes. That could explain why a Mach port is (apparently) not bound and could in turn explain the observed warning messages.

    0 讨论(0)
  • 2021-02-15 01:47

    For people working with Xamarin.iOS, disabling Xamarin.Calabash.Start(); // For Test Cloud suspends the non-stop logging

    0 讨论(0)
提交回复
热议问题