rvictl is not working
Asked Answered
C

5

6

i'm trying to monitor all traffic on my iphone. so i googled about the tools, and i found rvictl is my choice. based on this article

i've got xcode installed before this, so i run "rvictl" in the terminal, gave nothing, but no error either, that means rvictl is installed already.

so i tried to run "rvictl -s 7BE4CC277XXXXXXXXXX" and waited for about 2 seconds, then nothing happend or showed, just nothing

leideMacBook-Air:~ Jack$ rvictl -s 7BE4CC2772E3D50174C49ABxxxxxx leideMacBook-Air:~ Jack$

just like that, so i googled and saw another article here repair your xcode pkg by reinstall those 2 pkgs, and hit again still got the same, nothing happens

so can anyone give another clue to fix this?

Clarisclarisa answered 24/3, 2017 at 7:8 Comment(0)
Q
8

For me, the issue happens, when I use UPPERCASE UUID, instead of lowercase one:

// does not work:
$ rvictl -s F320D3ED185C4CD28FC96E48119D6E39

// works:
$ rvictl -s f320d3ed185c4cd28fc96e48119d6e39
Quondam answered 11/7, 2018 at 0:35 Comment(1)
BONG. wrong answer. See below.Triny
C
2

For me, the UDID of my device from Apple Logo -> About This Mac -> System Report -> click on device -> copy Serial Number looked like

AAAABBBBBBBxxxxx // no hyphen, doesn't work!

But when I copied from XCode -> Window -> Devices and Simulators -> select device -> copy 'Identifier' it looked like

AAAA-BBBBBBBxxxxx // has hyphen

The one with the hyphen worked:

rvictl -s AAAA-BBBBBBBxxxxx // works!
Camelback answered 21/11, 2022 at 12:1 Comment(1)
My UDID from system_profiler SPUSBDataType also did not have the requisite hyphen.Leclair
T
0

I had to use the full version of the IDENTIFIER (not the serial number) from xcode organizer: rvictl -s 00008020-000A5D041E88003A

The case, upper or lower, of the serial number DID NOT matter. THOSE ARE BAD ANSWERS. Including the hyphen did matter. Copy from Xcode organizer.

There's no graceful error message, if you type in the wrong Identifier, rvictl just prints you the command switch list.

The list -l -L command WON'T WORK UNTIL you've actually connected the device with the -s or -S switch.

Triny answered 21/5 at 17:14 Comment(0)
R
-1

here is what worked for me:

Make sure that all letters are lower case, took me a min to figure this out.

za:news za$ rvictl -s 8adca3ef84c9d647d32644a30cc448185ae39108

Starting device 8adca3ef84c9n647d32644a30cc448185de39108 [SUCCEEDED] with interface rvi0

The new interface is now added, this one rvi0:

$ ifconfig -l
lo0 gif0 stf0 en0 en1 en2 p2p0 awdl0 bridge0 `rvi0`

When running the command with all upper case,upper cased UUID number, no sterr no stdout either, just dies silently:

za$ rvictl -s 8ADCA3EF84C9D647N32644A30CC448185DE39108
za$ rvictl -L

Could not get list of devices
Responsion answered 23/8, 2018 at 2:52 Comment(0)
C
-4

well, run the command with root's privilege......

Clarisclarisa answered 24/3, 2017 at 7:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.