Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred while loading the device after the Mac version was packaged #70

Open
MGstarwl opened this issue Jan 12, 2022 · 8 comments

Comments

@MGstarwl
Copy link

An error occurred while loading the device after the Mac version was packaged “Unable to load shared library 'imobiledevice' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable: dlopen(libimobiledevice,1): image not found”

@MGstarwl
Copy link
Author

image

@master131
Copy link
Owner

Have you built the application from source or are you referring to the DMG release?

@MGstarwl
Copy link
Author

Have you built the application from source or are you referring to the DMG release?

However, there is no error in downloading your DMG directly. I want to know which link has a problem or my packaging method is wrong. However, when debugging directly in VS, an error is reported. I suspect it is a problem with the source code.

@MGstarwl
Copy link
Author

Have you built the application from source or are you referring to the DMG release?

Have you ever tried vs direct run debugging? No matter debugging or packaging into DMG, this error occurs. I want to know what the problem is and how to solve it.

@MGstarwl
Copy link
Author

built the application from source

Have you built the application from source or are you referring to the DMG release?

I built the application from source

@master131
Copy link
Owner

master131 commented Jan 12, 2022

You either need to:

  • move the all the native binaries for ilibmobiledevice to the same directory as the executable (ie. move all the files from runtimes/osx-x64/native in your Debug/Release folder next to the iFakeLocation.dll)

or

@MGstarwl
Copy link
Author

You either need to:

  • move the all the native binaries for ilibmobiledevice to the same directory as the executable (ie. move all the files from runtimes/osx-x64/native in your Debug/Release folder next to the iFakeLocation.dll)

or

Tried or not, using version 1.6. Then I tested that version 1.5 can refresh the device normally. But I use 1.6, whether compiled or directly debugged, it doesn't work. It's the error above. I've tried the method you said, but it still doesn't work.

@iam3ddy
Copy link

iam3ddy commented Jun 16, 2022

anyway to open the DMG file?

i'm using M1 macbook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants