Closed woelper closed 1 year ago
The vendor
should not depend on anything installed on your system except for build tools. It will build libimobiledevice
, libplist
, libusbmuxd
and libimobiledevice-glue
all from scratch at build time. I have done all my work on my Mac, so this isn't a MacOS issue. I'll give it a look.
I just created a clean build, and it worked fine. Make sure that you have the dependencies listed in the README. For context, my Cargo.toml
looks like
rusty_libimobiledevice = { version = "*", features = [ "static", "vendored" ] }
You will have to find the Mac equivalents to the software listed here
Thank you so much for trying this out and your help. I indeed was able to build with vendored
now. Why this now works is not exactly clear to me, but it might be due to the fact I re-built libimobiledevice
with libimobiledevice-glue
. Out of curiosity, did you install your dependencies manually or with homebrew?
I installed my dependencies with brew. I’ll close this since you got it to build.
First of all, thanks for this promising library! I am trying to compile a static library, and using the
vendored
feature, I receive an error when I build. The issue seems to be in the buildscript, asconfigure
can't be found:I am not sure if I am missing anything here - as described below, I am missing
imobiledevice-glue
, but I doubt this is the issue here.When I am switching to the
vendored
feature, I getWhich is true, as I am missing
imobiledevice-glue-1.0
- I have installed libimobiledevice withbrew install libimobiledevice
. Would I need a separate install ofimobiledevice-glue
? I think some setup instructions might be helpful for OSX, although this might be complex due to the multitude of OSX versions. Perhaps I can help with that?I was able to follow a guide at https://github.com/libimobiledevice/libimobiledevice/issues/1217 and got it working like this:
insert this:
brew edit libimobiledevice
in line 31 adddepends_on "libimobiledevice-glue"
so the above formula is built with libimobiledevicethen
brew uninstall libimobiledevice
followed bybrew install libimobiledevice
.