Hello Folks,
Most of iOS developers are currently working form home and many developers are using the mobile internet. I am also one of them 😀
I was facing one issue that, in whole day GBs of data gone from my internet pack. So, I have checked the activity monitor for the network processes.
It’s strange! The process called nsurlsessiond was taking all the bandwidth when I was running the iOS simulator and if I quit the iOS simulator then this download process stops!
Here, I found the solution for it!
Solution
Step 1: Go to the location of com.apple.nsurlsessiond.plugin path from your Xcode application contents.
/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
– Rename this file to something like r_com.apple.nsurlsessiond.plugin
Step 2: Go to the location of nsurlsessiond path from your Xcode application contents.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/libexec/nsurlsessiond
– Rename this file to something like r_nsurlsessiond
Note: You can also use the terminal for above process and If you want to delete the file then you can, But must take backup of both files!
BINGO! No more data packets received for this process!
References
Conclusion
So, Hope this solution will help you! Thanks for reading.
Feel free to share this article with a friend or on social media. Let me know if you have any questions, comments or feedback – either via Twitter or email.
Stay Safe At Home. Learn Something New. Share To The World.
Happy Coding ?