Malloc: * error for object 0x1740b6e00: pointer being freed was not allocated * set a breakpoint in malloc_error_break to debug
WKWebView 出現(xiàn)這個(gè)錯(cuò)誤的原因是由于調(diào)試的真機(jī)iPhone的Safari開(kāi)啟了連接Mac的js調(diào)試功能。設(shè)置——>Safari——>高級(jí)——>JavaScript,關(guān)閉测蹲。