Hi, what helped for me [IOS 11.6 Big Sur - XCode 13.1]
rvictl had 2 locations on 'which' command, one with a double //
$ which -a rvictl
/Library/Apple/usr/bin//rvictl
/Library/Apple/usr/bin/rvictl
removing the '/Library/Apple/usr/bin//rvictl' from the PATH variable helped for me. I hope it works well for you too :-)
#list the PATH variables:
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin/:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS
#copy the returned variable and remove the one with //rvictl and overwrite with the new paths:
$ export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS
Now the 'which' command should only return a single instance:
$ which -a rvictl
/Library/Apple/usr/bin/rvictl