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.5k stars 192 forks source link

[Question] LocationSimulatorHelp missing info.plist from Help folder #137

Closed Welted closed 2 years ago

Welted commented 2 years ago

Starting from 0.1.9.2 there is a Help folder and a LocationSimulatorHelp target. After updating the signing to use my certificates for local signing and then trying to build the project the build is failing due to a missing info.plist in the Help folder. I am just getting started with XCode and am uncertain what options the LocationSimulatorHelp needs to have enabled, trying to create the file with my best guesses is producing a new build error "Command PhaseScriptExecution failed with a nonzero exit code" so must have something incorrect. Can the correct info.plist be included or documentation added for this part?

Thank you.

Running MacOS 12.5.1 and Xcode 14.0.1

Welted commented 2 years ago

Got a work-around by removing the LocationSimulatorHelp target and the Help & Localization components from the Project navigator. It appears that the localization files aren't ready and/or included in the main branch yet. Thank you so much for your work on this project.

Schlaubischlump commented 2 years ago

Hi @Welted,

I just cloned the project from github to try to reproduce the error (Xcode 14.0 B2). The Info.plist for the help target is included. You can even view it in github.

How did you download the source code ? Did you use the git clone --recurse-submodules https://github.com/Schlaubischlump/LocationSimulator command from the Readme ? The --recurse-submodules is important.

Usually it should be enough to clone the project with the command above and open it in Xcode. There you can select the LocationSimulator and LocationSimulatorHelp target and change the development team in the Signing and Capabilities tab.

Schlaubischlump commented 2 years ago

It appears that the localization files aren't ready and/or included in the main branch yet.

I think you forgot to download the subprojects. Which is automatically done if you use the --recurse-submodules flag.

Welted commented 2 years ago

You are correct - I did not include the --recurse-submodules. That fixed the issue for me - thank you!