Give your simulator superpowers

Click here to
Build Apps Faster

Using the Network Link Conditioner Utility (how-to)

The Network Link Conditioner on iOS and macOS enables you to test your app in networking conditions like your users might have while using your app. It allows you to simulate networking conditions like 3G, Edge or High Latency DNS.

You can find a Networking section inside the developer page of the Settings app of iOS. Besides enabling Multipath Networking you can navigate to the Network Link Conditioner, which is disabled by default. You can read more about Multipath Networking here.

Developer Networking Section
Developer Networking Section

A list of default presets can be found on this page. You select a preset by tapping one of them. Enable the switch to test your app on the selected preset. A custom preset fitting your needs can be defined by navigating to the Add a profile page.

Network Link Conditioner Presets
Networking Presets

Using the developer tool on MacOS

Before you can use the utility on MacOS you need to install Additional Tools for your current Xcode version. By navigating to Xcode Main Menu > Open Developer Tool > More Developers Tools you’re able to download the tools after logging in.

Xcode More Developer Tools
Xcode More Developer Tools

Inside the downloaded .dmg you can find lots of interesting utilities. The Network Link Conditioner can be found inside the Hardware folder. By double-clicking the app you can install the utility in your System Preferences.

The application is quite similar to the iOS variant and also contains a list of custom presets. These can be used to simulate a range of Network conditions. Besides of that, you’re able to define your own preset in the Manage Profiles page.

The Network Link Conditioner on MacOS
The Network Link Conditioner on MacOS

After selecting the preset and enabling the switch you can start testing your Mac OS app or your iOS app in the simulator while simulating the Networking preset. You can now start testing your apps under circumstances your end user might have as well. This is great for finding bugs you would otherwise never encounter.


Featured SwiftLee Jobs

Find your next Swift career step at world-class companies with impressive apps by joining the SwiftLee Talent Collective. I'll match engineers in my collective with exciting app development companies. SwiftLee Jobs