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?