Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Charles Proxy on Mac OS X selectively for iOS Simulator

Tags:

Is there any way to use Charles proxy selectively with particular applications like iOS Simulator on Mac OS X? Currently while monitoring HTTP traffic to and fro iOS application running with iOS Simulator, Charles also monitors HTTP traffic from other apps like Chrome and Mail app etc. This is really distracting. Is there any way to do this except adding the list of domains that we want to bypass under Charles Proxy settings ?

Chrome is really a problem because it uses Mac OS X proxy settings. I tried extension like Proxy Switchy but it either doesn't help or I don't know how to configure it.

Any pointers will be highly appreciated. Thanks!

like image 689
indiantroy Avatar asked Jun 07 '12 19:06

indiantroy


People also ask

How do I use Charles Proxy on Mac?

Open Settings, tap Wi-Fi and verify you're connected to the same network as your computer. Then, tap the ⓘ button next to your Wi-Fi network. Scroll down to the HTTP Proxy section, select Configure Proxy and then tap Manual. Enter your Mac's IP address for Server and the Charles HTTP Proxy port number for Port.

How do I use Charles Proxy on iOS?

To use Charles as your HTTP proxy on your iPhone you must manually configure the HTTP Proxy settings on your WiFi network in your iPhone's Settings. Go to the Settings app, tap Wi-Fi, find the network you are connected to and then tap the blue disclosure arrow to configure the network.


1 Answers

You can indeed filter the records in Charles proxy. Just go to Proxy>Record Settings... Then u can include or exclude any domain that you need to. Thats the only way to do it. using domain, port, path or query.

If you dont wanna record things coming from google Chorme, just disable the option pressing Cmd+Shift+P , this will disable Mac OS X Proxy.

enter image description here

like image 92
Arthur Neves Avatar answered Sep 19 '22 15:09

Arthur Neves