
Simulating and troubleshooting slow networks.ĭownload the starter project by clicking the Download Materials button at the top or bottom of the tutorial.Proxies and how they work on macOS and iOS.In this tutorial, you’ll get hands-on experience with this.

You configure your simulator or iOS device to pass all networking requests and responses through Charles Proxy, so you’ll be able to inspect and even change data midstream to test how your app responds. It’s even more difficult when you’re talking to other systems over a network.įortunately, Charles Proxy can make network debugging much easier.Ĭharles Proxy sits between your app and the internet. Let’s face it - we’ve all written code that doesn’t work correctly, and debugging can be hard.

Update note: Irina Galata updated this tutorial for Xcode 12, Swift 5 and iOS 14.
