netmuxd
netmuxd copied to clipboard
Unable to build - unresolved import `idevice::lockdownd`
Hello,
Building this on an ubuntu 22.04 distrobox and I'm getting this error:
Compiling idevice v0.1.29
Compiling netmuxd v0.2.1 (/home/fishay/Documents/Distrobox/Ubuntu/netmuxd)
error[E0432]: unresolved import `idevice::lockdownd`
--> src/heartbeat.rs:3:43
|
3 | use idevice::{heartbeat::HeartbeatClient, lockdownd::LockdowndClient, Idevice};
| ^^^^^^^^^ could not find `lockdownd` in `idevice`
For more information about this error, try `rustc --explain E0432`.
error: could not compile `netmuxd` (bin "netmuxd") due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Build commands I've tried: cargo build --release, cargo build --bin netmuxd
I hope this is sufficient info.
Thanks in advance
idevice is currently locked to 0.1.21 in this repository. Not sure what you did to update it to 0.1.29. I'm currently running a feature check on 0.1.29, thanks for letting me know about this.
In the mean time, I would git reset --hard your clone and build with cargo build --release from rustup.rs. Whatever build commands or programs you used updated idevice.
Good catch, that did it:
Compiling idevice v0.1.21
Compiling netmuxd v0.2.1 (/home/fishay/Documents/Distrobox/Ubuntu/netmuxd)
Finished `release` profile [optimized] target(s) in 18.37s
Thanks for the help.