Where is debug view hierarchy button in Xcode 12

1.8k Views Asked by At

I saw the same question here: Xcode - can't find Debug View Hierarchy button . But it doesn't work in Xcode 12. This button looks like carved. And I can't find this option in editor.

How open debug view hierarchy in Xcode 12?

My xcode: enter image description here

I expected:

enter image description here

2

There are 2 best solutions below

0
On BEST ANSWER

Are you sure you are running the project? It's still there (Xcode 12.0.1):

enter image description here

1
On

It also could happen if you did not enable Debug executable option on Scheme edition window. A shortcut for open this is: ⌘ ⇧ ,

Edit Scheme Window