[英]Error grabbing View Hierarchy, XCode 8.2.1: “No plist data for fetching view hierarchy”
While trying 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.
Occured on iPhone 6 10.2 and iPhone 5C 9.3.5. 在iPhone 6 10.2和iPhone 5C 9.3.5上发布。 XCode is 8.2.1. XCode是8.2.1。 The Mac machine is Sierra 10.12.2 (16C67). Mac机是Sierra 10.12.2(16C67)。
Reproducible always - never got it to work. 始终可重复 - 永远不会让它发挥作用。
Anyone got a clue? 有人知道吗?
This occurred for me when running on simulator with Xcode 8.0. 在使用Xcode 8.0的模拟器上运行时,这种情况发生在我身上。 I was able to eliminate the bug by running on my iPhone 7 (device) running iOS 10.2. 通过在运行iOS 10.2的iPhone 7(设备)上运行,我能够消除这个错误。
Probably not the answer you want to hear, but you could try downloading Xcode 8.0 at the Apple Developer downloads page. 可能不是您想听到的答案,但您可以尝试在Apple Developer下载页面下载Xcode 8.0 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.