This thread rvictl not working on big sur and … | Apple Developer Forums was locked with very optimistic: "There have been significant improvements to RVI in recent releases"
No idea how because I simply cannot get it working:
After enabling kernel extension in Recovery and Allow in Security (with two reboots), SIP back ON (but also tried off) I cannot get anything from rvictl
Xcode 13.4
Build version 13F17a
manager@localmagersMini ~ % which -a rvictl
/Library/Apple/usr/bin/rvictl
manager@localmagersMini ~ % /Library/Apple/usr/libexec/rpmuxd
rpmuxd_transaction_begin:109 Transactions moved from 0->1
rpmuxd_transaction_end:121 Transactions moved from 1->0, starting idle timer
rpmuxd_transaction_end_block_invoke_2:132 Idle timer fired, exiting.
manager@localmagersMini ~ % sudo launchctl list com.apple.rpmux
Could not find service "com.apple.rpmux" in domain for system
manager@localmagersMini ~ % sudo launchctl load -w /Library/Apple/System/Library/LaunchDaemons/com.apple.rpmuxd.plist
/Library/Apple/System/Library/LaunchDaemons/com.apple.rpmuxd.plist: service already loaded
Load failed: 37: Operation already in progress
manager@localmagersMini ~ % sudo kextload /Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext
Executing: /usr/bin/kmutil load -p /Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext
Error Domain=KMErrorDomain Code=71 "Kernel request failed: (libkern/kext) kext (kmod) start/stop routine failed (-603946985)" UserInfo={NSLocalizedDescription=Kernel request failed: (libkern/kext) kext (kmod) start/stop routine failed (-603946985)}
manager@localmagersMini ~ % rvictl -s 00008101-000979680a04001e
manager@localmagersMini ~ % ifconfig -l
lo0 gif0 stf0 XHC0 XHC1 anpi1 anpi0 XHC2 en0 en4 en5 en2 en3 en6 en7 ap1 en1 bridge0 awdl0 llw0 utun0 utun1 utun2
manager@localmagersMini ~ % rvictl -l
Could not get list of devices
Anybody has any ideas?
sebus
I want to share my experience with this…
AFAIK we’re fixed this issue, meaning that RVI no longer requires any jumping through hoops. To confirm that, I ran the following test today:
-
I took my Apple silicon Mac, a MacBook Air (M1, 2020), and updated it to macOS 12.4.
-
I installed Xcode 13.4 on it.
-
I updated my ‘victim’ iPhone to 15.5.
-
I connected it to my Mac via USB.
-
I ran Xcode and built and ran a small test project on the iPhone, just to make sure that the development relationship was set up correctly.
-
In Xcode, I grabbed the provisioning ID from the Devices and Simulators window.
-
I ran
rvictlwith that:% rvictl -s 00008030-001544522E60802EIt worked as expected.
-
I ran
tcpdumpwith the interface name:% sudo tcpdump -n -i rvi0It also worked as expected.
-
I rebooted this Mac into recovery mode and use the Startup Security Utility to confirm that Full Security was set.
-
I repeated this process on my main work machine, a MacBook Pro (16-inch, 2019), and it worked there as well. Again, this is in Full Security mode.
I’ve no idea why it’s failing with your setup but this is all working for me.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"