Capture Error View Hierarchy, Xcode 8.2.1: "No plist data to select view hierarchy"

When I try to debug my view hierarchy, I get the following error:

Error: Unable to capture view hierarchy. Details: No plist data for fetching view hierarchy: error evaluating expression "(id)[(Class)objc_getClass("DBGViewDebuggerSupport_iOS") fetchViewHierarchyWithOptions:(id)[(Class)objc_getClass("NSDictionary") dictionaryWithObjects:(id)[(id)[(id)[(Class)objc_getClass("NSArray") arrayWithObject:(id)[(Class)objc_getClass("NSNumber") numberWithBool:1]] arrayByAddingObject:(id)[(id)[(Class)objc_getClass("NSArray") arrayWithObject:@"_UIVisualEffectBackdropView"] arrayByAddingObject:@"_UIBackdropEffectView"]] arrayByAddingObject:(id)[(Class)objc_getClass("NSNumber") numberWithBool:0]] forKeys:(id)[(id)[(id)[(Class)objc_getClass("NSArray") arrayWithObject:@"DBGViewDebuggerUseLayersAsSnapshots"] arrayByAddingObject:@"DBGViewDebuggerEffectViewsToSnapshotAsImage"] arrayByAddingObject:@"DBGViewDebuggerAlwaysEncodeLayers"]]]": error: Expression can't be run, because there is no JIT compiled function Method: -[DBGAbstractViewDescriber handleFetchedViewInfo:fetchError:resultHandler:] Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 

Occurs on iPhone 6 10.2 and iPhone 5C 9.3.5. Xcode - 8.2.1. Mac machine - Sierra 10.12.2 (16C67).

Reproducibility has always - never worked.

Anyone got it?

+6
source share
1 answer

This happened to me when running on a simulator with Xcode 8.0. I was able to fix the error by running on my iPhone 7 (device) running iOS 10.2.

This is probably not the answer you want to hear, but you can try downloading Xcode 8.0 from the Apple Developer page.

+1
source

Source: https://habr.com/ru/post/1013543/


All Articles