Magic Studio

专心做有逼格的APP!

模拟最烂的网速

How to install Apple’s Network Link Conditioner

Instructions current as of December 8, 2014 – OS X Yosemite 10.10

  1. Install Xcode if you don’t have it

  2. Open XCode and go to Xcode › Open Developer Tool › More Developer Tools…

    Screen shot of navigating the menu as described

  3. Download Hardware IO Tools for Xcode

Hardware IO Tools download link

  1. Open the downloaded disk image and double-click the .prefpane to install it.

    pref pane in DMG

    system preferences showing installation prompt

  2. There we go!

    Screen shot of the preference pane

  3. Be sure to turn it on. You need to select a profile and enable the network conditioner with the big toggle that should be familiar from the Time Machine prefpane.

    enter image description here

Caveat

This won't affect localhost, so be sure to use a staging server or co-worker's computer to simulate slow network connections to an API you’re running yourself. You may find https://ngrok.com/helpful in this regard.

 

posted on 2015-03-17 15:38  Mr 布鲁斯  阅读(238)  评论(0编辑  收藏  举报

导航