2016-12-27 13 views
6

私のビュー階層をデバッグしようとしますが、私は次のエラーを取得:iPhone 6 10.2とiPhone上エラー:「ビュー階層をフェッチなしplistのデータ」

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. 

発生したが5C 9.3.5。 XCodeは8.2.1です。 MacマシンはSierra 10.12.2(16C67)です。

再現可能 - 常に動作することはありません。

誰かが手掛かりを得ましたか?

+0

問題でのXcode 8.0のダウンロードを試みることができます。チケット#29814332 – Vaiden

+0

実行中のmacOSバージョンは何ですか? – xoudini

+2

クローズドXcode?破棄されたデータ、ビルドフォルダ、Xcodeキャッシュなど?再起動したMac? Xcodeを再インストールしましたか? – HAS

答えて

1

これは、Xcode 8.0でシミュレータを実行しているときに発生しました。 iOS 10.2を実行しているiPhone 7(デバイス)を実行してバグを解消できました。

おそらく

ないあなたが聞きたい答えが、あなたはまた、Appleに報告Apple Developer downloads page.

+0

私はそれを一貫してオンデバイスにしています。私は非常に頻繁にシミュレータを使用しません(私の投影はSceneKitベースで、シミュレータのGL/Metalパフォーマンスはそれほど優れていません)。 –

+1

私はちょうど別の携帯電話でプロジェクトを実行し、それは働いた。私は理由を知らないが、あなたの答えに感謝する。 –