Setup Charles for iPhone
Learn how to setup Charles proxy for iOS (iPhone / iPad)
![Setup Charles for iPhone](/content/images/size/w2000/2019/07/feature-9.png)
In this tutorial I will show you how to setup Charles with your iPhone. Charles is an extremely useful tool. I have used it often to debug my network calls, or to change the value that the server has returned to ensure that my app is behaving correctly.
Step 1: Get the proxy details
The first thing that you need to do once you have Charles open is to navigate to:
Help
-> SSL Proxying
-> Install Charles Root Certificate on a Mobile Device or Remote Browser
![Navigate to Charles ip address](https://programmingwithswift.github.io/setup-charles-proxy/nav-to-ip.png)
When you do that you should see a window similar to this:
![IP Window](https://programmingwithswift.github.io/setup-charles-proxy/charles-ip.png)
Step 2: Setting up your device
1. Go to Settings -> Wi-Fi:
![Setup process 1](https://programmingwithswift.github.io/setup-charles-proxy/setup-device-1.jpg)
2. Select your Wi-Fi connection:
3. Scroll all the way to the bottom and click on Configure Proxy
:
![Setup process 3](https://programmingwithswift.github.io/setup-charles-proxy/setup-device-3.jpg)
4. Select Manual
from the list:
![Setup process 4](https://programmingwithswift.github.io/setup-charles-proxy/setup-device-4.jpg)
5. Enter the value that you got from Charles(From Step 1):
![Setup process 5](https://programmingwithswift.github.io/setup-charles-proxy/setup-device-5.jpg)
6. Navigate to chls.pro/ssl in Safari:
![Setup process 6](https://programmingwithswift.github.io/setup-charles-proxy/setup-device-6.jpg)
6. You will get prompted to accept the configuration profile. Accept the profile:
![Setup process 7](https://programmingwithswift.github.io/setup-charles-proxy/setup-device-7.jpg)
7. Click install
in the top right on your screen:
![Setup process 8](https://programmingwithswift.github.io/setup-charles-proxy/setup-device-8.jpg)
8. Click install
again, also in the top right on your screen:
![Setup process 9](https://programmingwithswift.github.io/setup-charles-proxy/setup-device-9.jpg)
9. Click install
again when prompted:
![Setup process 10](https://programmingwithswift.github.io/setup-charles-proxy/setup-device-10.jpg)
10. Navigate back to Settings
-> General
, and click on About
:
![Setup process 11](https://programmingwithswift.github.io/setup-charles-proxy/setup-device-11.jpg)
11. Scroll right to the bottom where you can see Certificate Trust Settings
:
![Setup process 12](https://programmingwithswift.github.io/setup-charles-proxy/setup-device-12.jpg)
12. Click on the switch on the right of the Charles Proxy CA
:
![Setup process 13](https://programmingwithswift.github.io/setup-charles-proxy/setup-device-13.jpg)
13. Click Continue
on the popup:
![Setup process 14](https://programmingwithswift.github.io/setup-charles-proxy/setup-device-14.jpg)
Conclusion
You should now be able to use Charles. If Charles asks you to allow the connection click on Allow
. If you don’t allow the connection you will not be able to use the proxy until you allow it.