Charles Download: https: //www.charlesproxy.com/download/
Step One: Configure HTTP proxy, the proxy settings: the main interface --Proxy - Proxy Settings
Select listen on port 8888, then OK. Check the SOCKS proxy, but also to intercept browser requests http access.
Step Two: Configure SSL Proxy: First select the SSL Proxy Settings in the Proxy option charles
The third step: set the proxy for mobile phones
In the mobile phone access to the computer wifi, manual proxy configuration, enter the installation Charles computer network address and port fill in 8888.
IOS for instance, open the root certificate in the download URL Charles Safri: chls.pro/ssl.
Settings - Download profile - Installation:
Question: charles crawling with a mobile phone APP, everything is configured correctly, but can not get the data.
First, make sure the computer's firewall is turned off, this is very important.
Reference links:
https://www.jianshu.com/p/7a88617ce80b
https://www.cnblogs.com/fighter007/p/9156121.html