美文网首页
iOS 控制台报错log去除

iOS 控制台报错log去除

作者: zaijianbali | 来源:发表于2017-12-17 18:15 被阅读100次

xcode 报错修改

error in __connection_block_invoke_2: Connection interrupted


image.png

修改方式是:

原因:部署的target 和真实手机版本不一致导致的,github方案:

I got this message because my deployment target was 8.4 and my device firmware is 9.3, fix my target to 9.3 and my problem solved.

[] __nw_connection_get_connected_socket_block_invoke * Connection has no connected handler


image.png


这个问题解决方案方案是:


image.png
  1. Xcode menu -> Product -> Edit Scheme...
  2. Environment Variables -> Add -> Name: "OS_ACTIVITY_MODE", Value:"disable"
  3. Run again

本文解释权归:子文

如需转载请注明出处,谢谢

来杯可乐催更吧

请子文喝可乐

相关文章

网友评论

      本文标题:iOS 控制台报错log去除

      本文链接:https://www.haomeiwen.com/subject/kzhuwxtx.html