Vai*_*den 6 objective-c ios view-hierarchy xcode8
在尝试调试我的视图层次结构时,出现以下错误:
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.
Run Code Online (Sandbox Code Playgroud)
在iPhone 6 10.2和iPhone 5C 9.3.5上发布.XCode是8.2.1.Mac机是Sierra 10.12.2(16C67).
始终可重复 - 永远不会让它发挥作用.
有人知道吗?
小智 1
当我在 Xcode 8.0 的模拟器上运行时,发生了这种情况。我能够通过在运行 iOS 10.2 的 iPhone 7(设备)上运行来消除该错误。
可能不是您想听到的答案,但您可以尝试在Apple Developer 下载页面下载 Xcode 8.0。
| 归档时间: |
|
| 查看次数: |
1394 次 |
| 最近记录: |