【发布时间】:2016-12-27 10:59:36
【问题描述】:
在尝试调试我的视图层次结构时,我收到以下错误:
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)。
始终可重现 - 从未让它发挥作用。
有人知道吗?
【问题讨论】:
-
问题也报告给了 Apple。票号#29814332
-
你运行的是什么 macOS 版本?
-
关闭 Xcode?删除了派生数据、构建文件夹、Xcode 缓存等?重新启动Mac?重新安装 Xcode?span>
标签: ios objective-c xcode8 view-hierarchy