當我嘗試構建並運行我的鍵盤擴展時,它有時會與Thread 1: signal SIGQUIT
崩潰。Swift鍵盤擴展SIGQUIT,執行被中斷,原因:EXC_BREAKPOINT
我無法重現錯誤。有時我可以構建並運行我的應用程序,但大多數情況下鍵盤只是退出。這發生在一個實際的設備上。在模擬器中,它不打開我的鍵盤,並說Waiting to Attach
。
控制檯一開始並不輸出任何錯誤。但是,如果我改變下拉查看UI數字體系在調試導航我得到了如下描述:
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: Execution was interrupted, reason: EXC_BREAKPOINT (code=1, subcode=0x18daddc34).
The process has been returned to the state before expression evaluation.
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.
我還拿了過程的截圖。
我做得不對,我怎麼能阻止我的鍵盤延長運行時,它退出所有的時間?它在描述中是否真的是一個錯誤?
得到了同樣的事情。從谷歌的角度來看 - 這個錯誤似乎在最近纔出現。似乎是一個XCode 8.2.1問題 – Vaiden
同樣的事情發生在我身上,不幸的是 –
我也受到這種痛苦。任何人都找到解決方案了嗎 – Randy