libimobiledevice-win32 / imobiledevice-net

.NET (C#, VB.NET,...) bindings for libimobiledevice
GNU Lesser General Public License v2.1
305 stars 76 forks source link

libzip missing from OSX-x64 runtime? #145

Open malchowc opened 4 years ago

malchowc commented 4 years ago

Attempting to run ideviceinstaller from the runtimes osx-x64 directory of the installed nuget package on mac results in the following error:

dyld: Library not loaded: /usr/local/opt/libzip/lib/libzip.5.dylib

I see a variety of other included libraries in the runtime directory, but not that one. Should it be included with the package, or does it need to be installed as an external dependency?

malchowc commented 4 years ago

Note: installing libzip through homebrew does resolve the issue.

Just curious if it could or should be included rather than being an external dep.

qmfrederik commented 3 years ago

Probably; OpenSSL is copied to the NuGet package and I don't see why we couldn't do the same with libzip. The code that takes care of that is here: https://github.com/libimobiledevice-win32/libimobiledevice-vs/blob/master/azure-pipelines.yml#L193, I'm open to pull requests ;-).