!!! This method is only usable for Mac !!!
- Download wireshark from link
- Double click *Wireshark .dmg file to open the download file
- Move Wireshark to Applications
- Open Read me first.html follow the Quick Setup for environment setup
-
Check your macOS version and find the Xcode version that match your device from Apple developer SDK
-
Download the specific Xcode version from link
-
Install dependencies of rvictl
$ cd /Applications/Xcode.app/Contents/Resources/Packages $ installer -pkg MobileDevice.pkg -target / $ installer -pkg MobileDeviceDevelopment.pkg -target /
-
Add system path for rvictl
$ cd $ vim /etc/paths # add rvictl path /Library/Apple/usr/bin/
-
Connect your IPhone to Mac
-
About this Mac → More information → System Report → USB
-
Click your IPhone and get the UDID (00xxxxxxxxxxxxxxxxxxxx1E)
-
Add dash after the 8th digit than it’s your final UDID (00xxxxxx-xxxxxxxxxxxxxx1E)
-
Check interface
$ ifconfig -l # Response lo0 gif0 stf0 anpi1 anpi0 anpi2 en4 en5 en6 en1 en2 en3 ap1 en0 awdl0 bridge0 utun0 utun1 utun2 en7
-
Create virtual interface
# rvictl -s <your final UDID> $ rvictl -s 00xxxxxx-xxxxxxxxxxxxxx1E
2-1. If rvictl Failed
# Response bootstrap_look_up(): 1102 Starting device 00xxxxxx-xxxxxxxxxxxxxx1E [FAILED]
Solution : launch com.apple.rpmuxd by following command
$ sudo launchctl load -w /Library/Apple/System/Library/LaunchDaemons/com.apple.rpmuxd.plist
redo 2.
-
Check interface : Get new interface
rvi0
that create by rvictl$ ifconfig -l # Response lo0 gif0 stf0 anpi1 anpi0 anpi2 en4 en5 en6 en1 en2 en3 ap1 en0 awdl0 bridge0 utun0 utun1 utun2 en7 rvi0