Recorder Service Error: Left Mouse Down: Failed to find matching element - Xcode error

我只是一个虾纸丫 提交于 2019-12-07 07:22:26

问题


I'm trying to automate my mac app by XCTest. While trying to record the app from XCode, I got this error message:

This happens when I tap on a button. The button hierarchy is..

Button -> Stack View -> NSView

Here, button is the subclass of NSButton, I added buttons in a stack view. That stack view was added in myView(Subclass of NSView).

P.S: Each button has image view and a label in it.

Question:

  • When I tap on the button, the app crashes with the above alert. Is there any solution to it?

来源:https://stackoverflow.com/questions/38632518/recorder-service-error-left-mouse-down-failed-to-find-matching-element-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!