Schlaubischlump / LocationSimulator

MacOS application to spoof / fake / mock your iOS / iPadOS or iPhoneSimulator device location. WatchOS and TvOS are partially supported.
https://schlaubischlump.github.io/LocationSimulator/
GNU General Public License v3.0
2.4k stars 184 forks source link

'libimobiledevice/libimobiledevice.h' file not found #12

Closed sapcons closed 4 years ago

sapcons commented 4 years ago

Thanks for putting this together. I followed the installation guide, but ran into problems when starting the project in xcode. I didn't make any changes to the files/path. Any recommendation? Thanks again, KM

LocationSimulator Group Swift Compiler Error Group

/Users/XXXXXX/LocationSimulator/LocationSimulator/LocationSimulator-Bridging-Header.h:10:10: 'libimobiledevice/libimobiledevice.h' file not found Failed to emit precompiled header

'/Users/XXXXXX/Library/Developer/Xcode/DerivedData/LocationSimulator-edkfbvokichndiawkcsertmgvvgg/Build/Intermediates.noindex/PrecompiledHeaders/LocationSimulator-Bridging-Header-swift_1DHQE3S7EOM96-clang_32EKOHJC58KDP.pch' for bridging header '/Users/D040956/LocationSimulator/LocationSimulator/LocationSimulator-Bridging-Header.h'

Schlaubischlump commented 4 years ago

Hi @sapcons,

Did you follow the installation instructions ? You need to install libimobiledevice using homebrew and change the header and library search paths in Xcode. The error message is telling you, that you either did not install libimobiledevice or that you did not change the header search path.

@raviteja10081996 put together a tutorial on how to compile the progam, if the install instruction is not detailed enough. Some steps are actually not necessary, but if you follow each step it should still work.