title: How to set up proxy for ios simulator?
body: <p>As topic.</p>
  <p>I run an app in my macbook pro iOS simulator, and I wanner config my app's requests through my http middleware.</p>
  <p>so, How to set up iOS simulator http proxy?</p>
  <p>I open my <code>System Preferences</code>, and config network proxies like:</p>
  <p><img src="https://img.techpowerup.org/200731/proxies.png" alt="https://img.techpowerup.org/200731/proxies.png" /></p>
  <p>and, in my terminal, I start my http middleware:</p>
  <pre class="lang-sh prettyprint-override"><code>Web server listening at http://127.0.0.1:8081/
  Loading script mitm_script.py
  Proxy server listening at http://*:10000
  </code></pre>
  <p>And then, I open my simulator's app.</p>
  <p>But, no log appears in my terminal.</p>