更新到Xcode8以后,运行程序时调试窗口会输出一堆网络相关的Log信息
解决办法
- 打开Scheme窗口
- 切换到
Run-Arguments
选项卡,在Environment Variables中添加参数OS_ACTIVITY_MODE
并设置value为disable
更新到Xcode8以后,运行程序时调试窗口会输出一堆网络相关的Log信息
Run-Arguments
选项卡,在Environment Variables中添加参数OS_ACTIVITY_MODE
并设置value为disable
转载于:https://juejin.im/post/5a31cb526fb9a044fe465fdc