- Open https://developer.apple.com/download/more/ (Downloads For Apple Developers)
- Find and download Additional Tools for Xcode 8.2 (or other Xcode version you use). Note that there is no need to download/install Xcode itself.
- Open Additional Tools - Hardware - double-click on Network Link Conditioner
- Agree to install it to Preferences
Available Network Profiles:
- 100% Loss - drops all incoming and outgoing packets
- High Latency DNS - adds 3000 ms DNS delay
- Very Bad Network - 1 Mbps 500ms delay downlink, 1 Mbps 500 ms delay uplink, and 10% of incoming and outgoing packets are dropped
- Edge - 240 Kpbs 400 ms delay downlink, 200 Kbps 440 ms delay uplink
- 3G - 780 Kpbs 100 ms delay downlink, 330 Kbps 100 ms delay uplink
- DSL - 2 Mbps 5ms delay downlink, 256 Kbps 5 ms delay uplink
- LTE - 50 Mbps 50ms delay downlink, 10 Mbps 65 ms delay uplink
- Wi-Fi - 40 Mbps 1ms delay downlink, 33 Mbps 1 ms delay uplink
- Wi-Fi 802.11ac - 250 Mbps 1ms delay downlink, 100 Mbps 1 ms delay uplink
Also there is an option to create custom profiles.