PHP技术,网站开发,PHP,PHP学习,Python学习,PHP开发,人工智能,大数据服务

PHP+Python » APP开发 » 解决ios运行报错nw_connection_get_connected_socket 18 Connection has no connected handler 问题

解决ios运行报错nw_connection_get_connected_socket 18 Connection has no connected handler 问题

此文被围观488日期: 2019-08-11 分类 : APP开发  标签:  ···

运行ios,总是报 app[487:26611] [] nw_connection_get_connected_socket [C25] Client called nw_connection_get_connected_socket on unconnected nw_connection 这个日志。


解决办法是:

  1. Xcode menu -> Product -> Edit Scheme...

  2. Environment Variables -> Add -> Name: "OS_ACTIVITY_MODE", Value:"disable"

  3. Run your app again, done! 这样就没问题了


参考来源:https://www.jianshu.com/p/d31047fc3d11

© Copyright 2011-2019 adophper.com. All Rights Reserved.
读图网科技 版权所有。蜀ICP备12031064号