I have faced with a problem that small and very useful program rvictl become unavailable MacOS Catalina and XCode 11. I will provide steps how to get the application back. But at first let’s take a look what rvictl is?!
rvictl ( Remote Virtual Interface Tool ) is a tool for capturing packets directly from your iOS Device. Let’s imagine that you need to sniff traffic from your iOS Device. Obviously, you can use Charles, but what if you don’t want to proxy traffic or your want to use more powerful WireShark. Then you need to use rvictl. You simply need to find your device UDID for example through Finder app.
And type something like following in terminal:
sudo rvictl -s [DEVICE UDID]
Output will be something like that:
Starting device [DEVICE UDID] [SUCCEEDED] with interface rvi0
But unfortunately new XCode 11 comes not bundled with rvictl available in terminal.
Go to the folder:
Double click MobileDeviceDevelopment.pkg and MobileDevice.pkg and proceed with installation.
That’s it. Everything ready but there is one more thing that can be different in new version. if you’ll try to use rvictl you can get something like:
command not found: rvictl
So you’ll need to use it as following:
sudo /Library/Apple/usr/bin/rvictl -s [DEVICE UDID]
After that you can open WireShark and you’ll see rvi0 interface that can be captured.