Riz*_*ikh 0 macos ios-simulator xcode11 macos-catalina
在过去的 4 周里,我观察到当我第一次启动模拟器时在模拟器上运行 Xcode 应用程序时,它会消耗大约 500MB 的互联网数据。这不是项目特定问题。每次我关闭并启动 mac 并在模拟器打开后立即运行 Xcode 时,都会消耗相同数量的数据。任何人都可以帮我解决什么问题吗?或任何后台服务运行?
Xcode 版本:11.6 (11E708)
模拟器:13.6
操作系统:10.15.6
每次我的互联网数据被消耗时,请帮助我,我必须解决这个问题
更新到xcode 11.7后这个问题仍然存在
感谢 @Rado 建议https://apple.stackexchange.com/。在https://apple.stackexchange.com/
上发布问题后, 我喜欢这个答案。
原答案: Xcode模拟器不断下载东西
答案:
将文件重命名为com.apple.nsurlsessiond(不要删除)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/UserEventPlugins/com.apple.nsurlsessiond.plugin /
到某事-com.apple.nsurlsessiond
还有文件 nsurlsessiond(不要删除)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/libexec/
到某事-nsurlsessiond
带有 admob 的应用程序可以完美运行,在 safari 中也没有问题