pointer being freed was not allocated

Malloc: * error for object 0x1740b6e00: pointer being freed was not allocated * set a breakpoint in malloc_error_break to debug

WKWebView 出现这个错误的原因是由于调试的真机iPhone的Safari开启了连接Mac的js调试功能。设置——>Safari——>高级——>JavaScript,关闭。

感谢:stackOverFlow

你可能感兴趣的:(pointer being freed was not allocated)