- Open the app in xcode
- Run it
- Give Accessiblity permission to the hello1.app
- Now select any text in any window
- Press
Ctrl + Shift + J - It will log into the Xcode debug window
systemWideElement: <AXUIElement System Wide 0x6000000ac8d0>
focusedElement: nil