Xcode Debug View Hierarchy: Unable to capture view hierarchy

后端 未结 1 641
温柔的废话
温柔的废话 2020-12-12 07:21

While trying to debug my view hierarchy, I get the following error:

Error: Unable to capture view hierarchy. Details: No plist data for fetching

相关标签:
1条回答
  • 2020-12-12 07:56

    Actually me also got the same type of error, but the truth is our app must in Running state. Because the "Debug View capture hierarchy" area appears only while the app is running.

    See my screen shot

    In Step 1: Select your app first

    In Step 2: Now select Debug hierarchy button

    If this doesn't work then go to Debug in menu on the top bar of Xcode

    ->Debug -> view debugging -> Capture View Hierarchy

    I solved my problem like this.

    0 讨论(0)
提交回复
热议问题