Jakub Warchol

Jakub Warchol

Apr 18, 2016 - 

1 min read  - 

Intercept network traffic with mitmproxy in iOS Simulator

Ever had a problem debugging API calls?

Here is a great tool to help you with that (and probably a hundred of other things).


You can peek under the hood of your app network traffic and find all those pesky bugs! Here is how to configure it for your iOS Simulator:

Firstly let’s install (this tutorial requires pip and python packages):

To make it work you need to inject mitmproxy’s CA certificate to our iOS simulators. To do that use ADVTrustStore tool:

Executing these commands should trigger a bunch of Y/n dialogues. You will be prompted to install CA certificate on every iOS Simulator on your OSx. Choose ‘Y’ everywhere. Congrats! You have just added the certificate to all of your simulators.

The last thing to do is to setup a proxy to let mitmproxy catch all the traffic. To do that go to your network preferences:

Select HTTP and/or HTTPS on the left, insert your IP address in the place of localhost, and set the port to 8080. Accept all the changes.

You should be good to go! Just run the mitmproxy in your terminal and enjoy the awesomeness!

Similar posts

Konrad Kolasa

Apr 5, 2019 - 

5 min read  - 
My first Flutter app


Oct 15, 2018 - 

8 min read  - 

Let’s work together

Tooploox Sp. z o.o.


EU: + 48 733 888 088

U.S.: + 1 415 800 2835

Business Partnerships


Marketing & PR




Office Management


Wrocław (HQ)

ul. Tęczowa 7
53-601 Wrocław
See on the map


ul. Foksal 18
00-372 Warszawa
See on the map


ul. Rybaki Górne 4/1
80-861 Gdańsk
See on the map

We use cookies for analytics and to improve our site - more info in our privacy policy