Closed danielgestwa closed 4 years ago
@danielgestwa Is this on Mono?
@qmfrederik I am using Visual Studio for mac and Unity Engine, so yes - this is Mono.
@danielgestwa So the short story is that I've never tested this on Mono. We use imobiledevice-net extensively on macOS & .NET Core, though.
In your case, I think it may suffice to just copy the contents of osx-x64
to your app folder (the same folder as where imobiledevice-net.dll
is located).
If that works, we may try to update https://github.com/libimobiledevice-win32/imobiledevice-net/blob/master/iMobileDevice-net/build/net45/iMobileDevice-net.targets to do the copying as part of the build.
Alternatively, a DllMap configuration or a manual call to dlopen
may also work.
Let me know if any of that works.
@qmfrederik As you said, this is working 😄 I was copying whole osx-x64 folder to place where imobiledevice-net.dll was placed and that caused me an error. When I copied CONTENTS of osx-x64, then it worked. This was unexpected, because on Windows I copied whole win-x64 folder and that worked. Anyway, thank you so much, I saved a lot of time!
Hi! I have the same issue, did you finally fix it and how? Thank you in advance! Im running it on VS2019 in osx-x64
A
Hi! I have the same issue, did you finally fix it and how? Thank you in advance! Im running it on VS2019 in osx-x64
As I said in previous message, I had an issue with directory tree. On Mac you should copy content of x64 dll dir, not dir with content. After that everything was working fine.
Hi, I am using imobiledevice library to connect with iOS device through sockets. Under Windows everything works like a charm, but under macOS Catalina I have following error:
It looks like dll is missing, but I already added macOS target to my iMobileDevice-net.targers, and build returns osx-64 folder with all files. It still throwns error. Anybody know the solution?