1 - 在xcode中 按住option加鼠标左键点击运行程序按钮


2 - 输入
Name = CFNETWORK_DIAGNOSTICS
VALUE = 1
3 - 运行程序后只要有一个网络请求,就会在log台显示一个log信息

4 - 打开log文件后你会看到你所请求的网络信息会细分得很详细.

以此可以跟服务器联调的时候,进行详细的查看。
1 - 在xcode中 按住option加鼠标左键点击运行程序按钮
3 - 运行程序后只要有一个网络请求,就会在log台显示一个log信息
4 - 打开log文件后你会看到你所请求的网络信息会细分得很详细.
以此可以跟服务器联调的时候,进行详细的查看。
本文标题:ATS调试1 - 开启NSURLSession的详细log
本文链接:https://www.haomeiwen.com/subject/afqzvttx.html
网友评论