Connect your IOS device to a Mac via USB. Create a virtual network interface which the IOS traffic will tunneled through Trace packets using Wireshark/tcpdump You will need your device's UID which can be obtained by iTunes.
Run in terminal:
rvictl -s <device_id>
Replace <device_id>
with your UID.
Now there should be a virtual interface, you can check by running ifconfig -l
. The new interface will be named something like rvi0
.
Capture your packets using the new interface in Wireshark!