抓取视图层次结构时出错,XCode 8.2.1:"No plist data for fetching view hierarchy"



在尝试调试我的视图层次结构时,我会收到以下错误:

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.

发生在iPhone 6 10.2和iPhone 5C 9.3.5上。Xcode是8.2.1。Mac机器是Sierra 10.12.2(16C67)。

总是可重现的 - 永远不会使它起作用。

有人有线索吗?

使用Xcode 8.0在模拟器上运行时,这是我发生的。我能够通过在运行iOS 10.2的iPhone 7(设备)上运行来消除错误。

可能不是您想听到的答案,但是您可以尝试在Apple开发人员下载页面上下载Xcode 8.0。

相关内容

最新更新