Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to "Debug View Hierarchy" in Xcode for an app extension?

Tags:

xcode

ios

I'm trying to debug the view hierarchy in an app extension, but I don't get anything useful.

Are there any limitations to using this feature with extensions?

If not, what could I possibly be doing wrong? I have the feeling there might be since the app is actually running inside a third party's UI. Would this be to keep people from "looking inside someone else's app"? enter image description here

like image 950
Joshua Goossen Avatar asked Nov 09 '22 09:11

Joshua Goossen


1 Answers

No, it seems not possible at this time. On Xcode8 iOS10, it shows nothing for keyboard extension.

An alternative choice is Reveal. On latest version, it supports App Extension. Actually it is what I am using right now.

like image 114
Wangdi Avatar answered Nov 14 '22 23:11

Wangdi