Closed FreezaSama closed 2 years ago
The github error is irrelevant, it is just telling you, that you already cloned this folder. If you delete the folder first, than git clone --recurse-submodules https://github.com/Schlaubischlump/LocationSimulator
will work again.
Now to your real problem: You are trying to compile for an Intel mac, but link against a library for M1 macs. You must change the architecture in the LocationSimulator Xcode settings to arm
. Take a look at the screenshot below. It must say Native Architecture of Build Machine
for your case. If it was working fine yesterday, the it means, that you had libimobiledevice installed for Intel macs, but you now installed the M1 version instead.
Ignore the explanation below. This might still be a problem, but it is not your current problem:
Looks like you updated the homebrew dependencies, so now LocationSimualtor can't find them. For each dependency in your first screenshot e.g openssl
either the /usr/local/Cellar/...
or /opt/homebrew/Cellar/...
path must exist. If none of them exists, than there must be a new path, with a new version number in it. You have to find that path and replace the header/library search paths in Xcode accordingly.
E.g Xcode currently tells you that it is looking for /usr/local/Cellar/openssl@1.1/1.1.1i/lib
and /opt/homebrew/Cellar/openssl@1.1/1.1.1i/lib
. You know might be running a different version. Lets say you can find the folder /usr/local/Cellar/openssl@1.1/1.1.1k
in the finder instead of /usr/local/Cellar/openssl@1.1/1.1.1i
. You now know that the version number changed from i -> k
. That would mean you would need to change the library search path in Xcode to /usr/local/Cellar/openssl@1.1/1.1.1k/lib
and the header search path to /usr/local/Cellar/openssl@1.1/1.1.1k/include
. Repeat this step for each dependency
hey @Schlaubischlump thanks for answering. so a few interesting things happened:
So I:
git clone --recurse-submodules https://github.com/Schlaubischlump/LocationSimulator
and it ran again! However it also only works on my phone and not on my iPad. do you know why that is?
Ideally, I would rather use your .app but it's ok to make the changes necessary on xcode so it works with the tablet. any tips there?Which version is your iPad running ?
iPad: 14.81 iPhone: 15.21
Maybe I need to update to 15 :) so strange that it was working yesterday night. went to bed and doesn't work anymore.
Can you download the app again ? I just added support for iOS 15.1 and 14.8.
Works! Thanks! 🙇
The build was working just fine yesterday and today I cannot build it again. I get this:
I've then ran again the
brew install libimobiledevice
command successfully but failed when runninggit clone --recurse-submodules https://github.com/Schlaubischlump/LocationSimulator
it said:fatal: destination path 'LocationSimulator' already exists and is not an empty directory.
Help? I'm not super comfortable with terminal commands or code so excuse my noobness here :)