Set your computer to the phone agent

1, download and install Charles , this tutorial is still for the Mac version

2, set the proxy port: Menu - Proxy - Proxy Settings - Proxies - HTTP Proxy - input port 8888, check below Enable transparent HTTP proxying

3, set access control lists: Menu - Proxy - Access Control Settings, increase IP phone to IP Range, if Charles allows the agent to any IP, IP Range to increase 0.0.0.0/0

4, the development machine to install root certificates: Menu - Help - SSL Proxying - Install Charles Root Certificate, add the certificate as trusted

5, phone installation root certificate: to ensure mobile phones and computers on the same local area network the same network segment , mobile access chls.pro/ssl download the root certificate to iPhone, for example, after downloading open the Settings - General - description file and device management, find the corresponding profile installation, and then the most important step, settings - General - About this Mac - certificate trust settings manually open the certificate trust

6, phone - set - WLAN - Select wifi current connection, HTTP proxy - manually - server - computer input IP, port 8888, if provided YORK MuMu proxy simulator, server - enter a fixed IP 10.0.2.2, port 8888 is still , is completed.

Guess you like

Origin www.cnblogs.com/wangmeijian/p/11220716.html