1.須要爲設備設置代理代理
2.在設備上訪問https://www.charlesproxy.com/getssl ,下載ssl證書,而後安裝在設備中ssl
3.在charles的SSL Proxying Settings中勾選Enable SSL Proxying,而後添加須要抓包的HTTPS的那些hostget