- iproxy 2222 22
- 新开一个窗口2 ssh -p 2222 root@localhost
- 在窗口2 debugserver *:1234 -a "WeChat"
- 新开窗口3 cd /Users/mac/Desktop/usbmuxd-1.0.8/python-client
- 在窗口3 ./tcprelay.py -t 1234:1234
- 新开窗口4 lldb
- 在窗口4 process connect connect://172.19.18.60:1234 (wifi) process connect connect://localhost:1234 (usb)
另:制作log的xm文件
mac@mac ~ cd desktop
mac@mac ~/desktop touch NewMainFrameViewController.xm
/opt/theos/bin/logify.pl /Users/mac/Documents/weChatHeaders/NewMainFrameViewController.h > /Users/mac/Desktop/NewMainFrameViewController.xm