Closed bilalghouri closed 4 years ago
There is something wrong with your libimobiledevice headers. If have seen this error before if your libimobiledevice version is outdated. Maybe you installed the correct version with homebrew, but included the wrong headers?
Edit: Maybe the headers in libimobiledevice changed. In this case it wouldn‘t be your fault. I will check later and update this comment.
Edit2: I used the most recent libimobiledevice
version and it is working. That means there is something wrong with your setup.
To get the latest libimobiledevice
working you need to checkout the latest HEAD for libplist
and libusbmuxd
. I checked out the following HEADs:
libplist
: HEAD-66d2bb6
libusbmuxd
: HEAD-5364a1b
libimobiledevice
: HEAD-4331c3c_6
Make sure that your configuration looks like this:
Header search path:
Library search path:
Linked libraries:
A new version of libimobiledevice is available on homebrew. If you install the latest version and download the prebuild binary from the github releases it should work.
Undefined symbols for architecture x86_64: "_idevice_new_with_options", referenced from: _developerImageIsMountedForDevice in deviceimagemounter.o _mountImageForDevice in deviceimagemounter.o _pairDevice in devicepair.o _resetLocation in devicelocation.o _sendLocation in devicelocation.o _deviceProductVersion in deviceinfo.o _deviceName in deviceinfo.o ... ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've linked the latest libraries as well, used brew install --HEAD