解决办法1:
将xcode.app里面的nsurlsessiond程序重命名
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/libexec/nsurlsessiond
解决办法2:
建立防火墙规则,禁止xcode.app里面的nsurlsessiond联网